Фон Сайта-3
| 28.11.2009, 15:07 |
<head> <title>Смена фона страницы в зависимости от времени суток!</title>
<script language="JavaScript"> theTime = new Date(); theHour = theTime.getHours(); if(theHour>6&&theHour<18){ document.write('<body background ="day.gif" text="black">'); } else{ document.write('<body background ="night.gif" text="white">'); } </script> </head>
|
Категория: Мои файлы | Добавил: ModeratoR
| Теги: Фон Сайта-3, title
|
Просмотров: 688 | Загрузок: 0
|
|