Начало
Детали страницы
Полоса прокрутки Цвет
(IE 5.5 +) Изменение цвета
Drag cursor over links to change scrollbar color.
Red
|
Orange
|
Yellow
|
Green
|
Blue
JavaScript Page Details: Полоса прокрутки Цвет
<!-- TWO STEPS TO INSTALL SCROLLBAR COLOR: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <! > <! > <!-- Begin function changeScrollbarColor(C) { if (document.all) { document.body.style.scrollbarBaseColor = C; } } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> Drag cursor over links to change scrollbar color. <br> <a href="#" onMouseOver="changeScrollbarColor('#FF0000')">Red</a> | <a href="#" onMouseOver="changeScrollbarColor('#FF8000')">Orange</a> | <a href="#" onMouseOver="changeScrollbarColor('#FFFF00')">Yellow</a> | <a href="#" onMouseOver="changeScrollbarColor('#00FF00')">Green</a> | <a href="#" onMouseOver="changeScrollbarColor('#4444FF')">Blue</a> <!-- Script Size: 1.33 KB -->