function initArray() { for (var i = 0; i < initArray.arguments.length; i++) { this[i] = initArray.arguments[i]; } this.length = initArray.arguments.length; } // you may fill this colors array with your colors. // the script will rotate the links through these colors var colors = new initArray( "#008000", "green", "#C6C68C", "green", "blue", "purple", "black", "red"); pause_time = .5; // in seconds link = 0; // starting color index (in colors array) for unvisited links vlink = 4; // starting color index (in colors array) for visited links function linkDance() { link = (link+1)%colors.length; vlink = (vlink+1)%colors.length; document.linkColor = colors[link]; document.vlinkColor = colors[vlink]; setTimeout("linkDance();",pause_time*1000); } linkDance(); // ?>
Суббота, 20.04.2024, 15.36 |
Приветствую Вас Гость |
|
--------------------------------------
-------------------------------
Привет: Гость
Полное имя: Гость Ты здесь: -й день Список пользователей Изменить сведения Отправить ЛС Читать ЛС () Завершить сеанс Группа: Гости Пол: Сайт: Число посетителей: |
|