0


歡迎光臨!! 救國團台中學苑 社會教育研習中心 電腦班隊研習營【網頁設計課程】

 

 跟屁蟲游標

冒泡游標

透明圖游標

轉轉游標

炫彩游標

舞動游標

軌跡游標

閃字游標

單色字游標

直式字游標

圈型文字游標

圓型文字游標

跑馬燈游標

流星墜落游標

滿天星游標

律動星點游標

 


游標特效語法




舞動游標

將下列語法貼於</head>之前
<script language="JavaScript">
<!--
function LayerMove(yyleft,yytop,yyfnx,yyfny,yydiv,yybilder,yyloop,yyto,yycnt,yystep)
{
if ((document.layers)||(document.all)){
with (Math) {yynextx= eval(yyfnx)}
with (Math) {yynexty= eval(yyfny)}
yycnt=(yyloop && yycnt>=yystep*yybilder)?0:yycnt+yystep;
if (document.layers){
eval(yydiv+".top="+(yynexty+yytop))
eval(yydiv+".left="+(yynextx+yyleft))
}
if (document.all){
eval("yydiv=yydiv.replace(/.layers/gi, '.all')");
eval(yydiv+".style.pixelTop="+(yynexty+yytop));
eval(yydiv+".style.pixelLeft="+(yynextx+yyleft));
}
argStr='LayerMove('+yyleft+','+yytop+',"'+yyfnx+'","'+yyfny+'","'+yydiv+'",'+yybilder+','+yyloop+','+yyto+','+yycnt+','+yystep+')';
if (yycnt<=yystep*yybilder)
{
eval(yydiv+".yyto=setTimeout(argStr,yyto)");}
}
}
function Mousetrace(evnt) {
if (yyns4)
{if (evnt.pageX) {ml=evnt.pageX; mt=evnt.pageY;} }
else{
ml=(event.clientX + document.body.scrollLeft);
mt=(event.clientY + document.body.scrollTop);
}
if (tracescript)eval(tracescript)
}
-->
</script>

將下列語法貼於想在網頁呈現的地方
<META http-equiv="Page-Enter" CONTENT="RevealTrans(Duration=4,Transition=4)">
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
</table>
</center>
</div>
<div id="yyd0"
style="position:absolute; width=50;height=50;z-index:1;clip: rect(0 50 50 0)">
<img src="http://wssh0812.myweb.hinet.net/05/a01.gif
">
</div>
<div
id="yyd1"
style="position:absolute;width=50;height=50; z-index:1;clip: rect(0 50 50 0)">
<img src="http://wssh0812.myweb.hinet.net/05/a01.gif
">
</div>
<script language="JavaScript">
<!--
var yyns4=window.Event?true:false; var mt = 0; var ml = 0;
document.onmousemove = Mousetrace;
tracescript = '';
if (yyns4){ document.captureEvents(Event.MOUSEMOVE);
Mousetrace('',',document.Mousetrace1')}
LayerMove(0,0,'ml+cos((15*sin(yycnt/24))+0)*120*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','mt+sin((15*sin(yycnt/36))+0)*90*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','document.layers[\'yyd0\']',2000,true,100,0,1);
LayerMove(0,0,'ml+cos((15*sin(yycnt/16))+90)*120*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','mt+sin((15*sin(yycnt/28))+90)*90*(sin(10+yycnt/20)+0.2)*cos(yycnt/20)','document.layers[\'yyd1\']',2000,true,100,0,1);
-->
</script>

 


上一頁下一頁 │                                      │ 回首頁 回特效語法  │