Israel is giving a 24-hour window for civilians to leave targeted Hamas areas of Gaza.