뽀라닷컴
Loading...




웹디자인,포토샵,그누보드,제로보드,동영상제작 관련 메모 >>


전체(437)인터넷,컴퓨터 (94) | 웹디자인tip (182) | CG,그래픽tip (70) | BBS_Tip (74) | 영상tip (17) |
반짝이는 스크롤바 2008-04-27 14:23:55
홈페이지홈페이지

해드와해드사이에 아래 스크립트 넣으시고용..

<script language = "JavaScript">
<!--
var the_col = [ "2068C0", "FDCDE5", "2068C0", "2068C0" ];
var my_col = [ "FDCDE5", "2068C0", "FDCDE5", "2068C0" ];
var index = -1;
var speed = 500;//속도 조절
var my_timeout;
function myScrlbarClr()
{
index++;
if (index = the_col.length){
index = 0;
}
document.body.style.scrollbarTrackColor = "#ffffff";
document.body.style.scrollbar3dLightColor = "#30B4E0";
document.body.style.scrollbarArrowColor = the_col[index];
document.body.style.scrollbarFaceColor = my_col[index];
document.body.style.scrollbarHighlightColor = "#30B4E0";
document.body.style.scrollbarShadowColor = "#30B4E0";
document.body.style.scrollbarDarkShadowColor = "#30B4E0";
my_timeout = setTimeout('myScrlbarClr();', speed);
}
//-->
</script>

바디안에 이렇게만 넣으시면 되요..

<body onLoad="myScrlbarClr();">




    



목록보기 삭제하기