語法說明:
1.在 var scroller_msg='歡迎光臨 小林工作室' 中修改跑馬燈的文字
2.在 width:100px 中修改跑馬燈的寬度
3.在 border:1px 中修改框線的粗細
4.在 solid #FF0000; 中修改框線的顏色
5.在 font-size:9pt; 中修改文字的大小
6.在 color:#0000FF; 中修改文字的顏色
7.在 background-color:#FFFF00; 中修改跑馬燈的底色
8.在 curscroll.style.left=document.body.scrollLeft+event.clientX+20 中修改跑馬燈距離游標左右的位置
9.在 curscroll.style.top=document.body.scrollTop+event.clientY+20 中修改跑馬燈距離游標上下的位置
nicole 發表在 痞客邦 留言(0) 人氣(285)
語法說明:
1.在 msg='歡迎光臨小林工作室'; 中修改顯示區域的寬度
2.在 msgSize=5; 中修改文字的大小(字體大小為1~7)
3.在 FoNt='Tahoma,Georgia'; 中修改文字的字型
4.在 CoLoR='FF0000'; 中修改文字的顏色
5.在 speed=2; 中修改文字跑動的速度,越直越大就越快,越小越慢
nicole 發表在 痞客邦 留言(0) 人氣(149)
語法說明:
1.在 yourLogo='歡迎光臨小林工作室'; 中修改要顯示的文字
2.在 logoSize=3; 中修改文字的大小(字體大小為1~7)
3.在 logoColor='FF0000'; 中修改文字的顏色
4.在 logoWidth=50; 中修改顯示區域的寬度
5.在 logoHeight=50; 中修改圓圈的高度
6.在 logoSpeed=0.05; 中修改圓圈的速度
nicole 發表在 痞客邦 留言(0) 人氣(72)
語法說明: 1.在 yourLogo = "歡迎光臨小林工作室"; 中修改要顯示的文字
2.在 logoColor = "FF0000"; 中修改文字的顏色
3.在 logoWidth = 100; 中修改文繞圈的寬度
4.在 logoHeight = -30; 中修改文繞圈的高度
nicole 發表在 痞客邦 留言(0) 人氣(38)
語法說明:
1.在 message = '歡迎光臨 小林工作室; 中修改要顯示的文字
2.在 ColoR = '880000'; 中修改文字的顏色
3.在 SizE = 2; 中修改文字的大小(字體大小為1~7)
nicole 發表在 痞客邦 留言(0) 人氣(90)
語法說明:
1.在 FONT-SIZE: 10pt; 中修改文字的大小
2.在 歡 迎 光 臨 小林工作室 ~ 中修改要顯示的文字
3.在 var step=12; 中修改修改文字間的距離,數值越大距離越遠
nicole 發表在 痞客邦 留言(0) 人氣(54)
語法說明:
1.在 font-size:10pt; 中修改文字的大小
2.在 color:#FF0000 中修改文字的顏色
3.在 var step=15 中修改字距,數值越大就越遠
4.在 var message="歡 迎 光 臨 ~" 中修改要顯示的文字
nicole 發表在 痞客邦 留言(0) 人氣(50)
語法說明:
1.在 width:1px; 中修改十字線的寬度
2.在 height:1px 中修改十字線的高度
3.在 background-color:#FF0000; 中修改十字線的顏色
nicole 發表在 痞客邦 留言(0) 人氣(160)
方向指示的游標
<!--方向指示_開始--> <script language="JavaScript"> <!-- var x, y, xold, yold, xdiff, ydiff; var dir = Array(); dir[0] = "n-resize"; dir[1]="ne-resize"; dir[2]="e-resize"; dir[3]="se-resize"; dir[4] = "s-resize"; dir[5]="sw-resize"; dir[6]="w-resize"; dir[7]="nw-resize"; document.onmousemove = FindXY; function display(direction) { document.body.style.cursor = dir[direction]; } function FindXY(loc) { x = (document.layers) ? loc.pageX : event.clientX; y = (document.layers) ? loc.pageY : event.clientY; xdiff = x - xold; ydiff = y - yold if ((xdiff < 2) && (ydiff < -2)) display(0); if ((xdiff < 2) && (ydiff > 2)) display(4); if ((xdiff > 2) && (ydiff < 2)) display(2); if ((xdiff < -2) && (ydiff < 2)) display(6); if ((xdiff > 2) && (ydiff > 2)) display(3); if ((xdiff > 2) && (ydiff < -2)) display(1); if ((xdiff < -2) && (ydiff > 2)) display(5); if ((xdiff < -2) && (ydiff < -2)) display(7); xold = x; yold = y; } --> </script> <!--方向指示_結束--> |
nicole 發表在 痞客邦 留言(0) 人氣(35)