查看完整版本: 七彩滑鼠游標

24-1-2010 08:56

七彩滑鼠游標

<script language="JavaScript">
<!--
if (document.all){
with (document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffffff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#fff000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffa000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ff00ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#00ff00;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#0000ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffffff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#fff000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffa000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ff00ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#00ff00;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#0000ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#FF0000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#ffffff;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#fff000;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#ffa000;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#ff00ff;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#00ff00;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#0000ff;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#FF0000;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffffff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#fff000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffa000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ff00ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#00ff00;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#0000ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#FF0000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffffff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#fff000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffa000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ff00ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#00ff00;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#0000ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('</div>')
}
}
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step = 1;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;
if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/6;
xBase = window.document.body.offsetWidth/6;
}
else if (document.layers)
{
yBase = window.innerHeight/8;
xBase = window.innerWidth/8;
}
if (document.all)
{
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{
starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);
starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);
}
}
else if (document.layers)
{
for ( j = 0 ; j < 63 ; j++ ) //number of NS layers!
{
var templayer="a"+j
document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);
document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);
}
}
currStep+= step;
setTimeout("animateLogo()", 10);
}
animateLogo();
-->
</script>




<P>此欄內可見滑鼠游標效果</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&lt;script language="JavaScript"&gt;<BR>&lt;!--<BR>if (document.all){<BR>with (document){<BR>write('&lt;div id="starsDiv" style="position:absolute;top:0px;left:0px"&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#ffffff;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#fff000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#ffa000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#ff00ff;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#00ff00;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#0000ff;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#ffffff;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#fff000;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#ffa000;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#ff00ff;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#00ff00;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#0000ff;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#FF0000;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#ffffff;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#fff000;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#ffa000;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#ff00ff;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#00ff00;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#0000ff;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:5px;height:5px;background:#FF0000;font-size:5px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#ffffff;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#fff000;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#ffa000;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#ff00ff;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#00ff00;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#0000ff;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:4px;height:4px;background:#FF0000;font-size:4px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#ffffff;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#fff000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#ffa000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#ff00ff;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#00ff00;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#0000ff;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"&gt;&lt;/div&gt;')<BR>write('&lt;/div&gt;')<BR>}<BR>}<BR>if (document.layers)<BR>{window.captureEvents(Event.MOUSEMOVE);}<BR>var yBase = 200;<BR>var xBase = 200;<BR>var step = 1;<BR>var currStep = 0;<BR>var Xpos = 1;<BR>var Ypos = 1;<BR>if (document.all)<BR>{<BR>function MoveHandler(){<BR>Xpos = document.body.scrollLeft+event.x;<BR>Ypos = document.body.scrollTop+event.y;<BR>}<BR>document.onmousemove = MoveHandler;<BR>}<BR>else if (document.layers)<BR>{<BR>function xMoveHandler(evnt){<BR>Xpos = evnt.pageX;<BR>Ypos = evnt.pageY;<BR>}<BR>window.onMouseMove = xMoveHandler;<BR>}<BR>function animateLogo() {<BR>if (document.all)<BR>{<BR>yBase = window.document.body.offsetHeight/6;<BR>xBase = window.document.body.offsetWidth/6;<BR>}<BR>else if (document.layers)<BR>{<BR>yBase = window.innerHeight/8;<BR>xBase = window.innerWidth/8;<BR>}<BR>if (document.all)<BR>{<BR>for ( i = 0 ; i &lt; starsDiv.all.length ; i++ )<BR>{<BR>starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);<BR>starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);<BR>}<BR>}<BR>else if (document.layers)<BR>{<BR>for ( j = 0 ; j &lt; 63 ; j++ ) //number of NS layers!<BR>{<BR>var templayer="a"+j<BR>document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);<BR>document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);<BR>}<BR>}<BR>currStep+= step;<BR>setTimeout("animateLogo()", 10);<BR>}<BR>animateLogo();<BR>--&gt;<BR>&lt;/script&gt;</P>

25-5-2013 14:46

<form name="copy">
<textarea cols="40" name="txt" rows="4" style="BACKGROUND-COLOR:#ffffff; COLOR:#000000; FONT-SIZE:9pt">
<script language="JavaScript">
<!--
if (document.all){
with (document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffffff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#fff000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffa000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ff00ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#00ff00;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#0000ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffffff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#fff000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffa000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ff00ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#00ff00;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#0000ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#FF0000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#ffffff;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#fff000;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#ffa000;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#ff00ff;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#00ff00;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#0000ff;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:5px;height:5px;background:#FF0000;font-size:5px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffffff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#fff000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ffa000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#ff00ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#00ff00;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#0000ff;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:4px;background:#FF0000;font-size:4px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffffff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#fff000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ffa000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#ff00ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#00ff00;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#0000ff;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('</div>')
}
}
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step = 1;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;
if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}
else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}
function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/6;
xBase = window.document.body.offsetWidth/6;
}
else if (document.layers)
{
yBase = window.innerHeight/8;
xBase = window.innerWidth/8;
}
if (document.all)
{
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{
starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);
starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);
}
}
else if (document.layers)
{
for ( j = 0 ; j < 63 ; j++ ) //number of NS layers!
{
var templayer="a"+j
document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);
document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);
}
}
currStep+= step;
setTimeout("animateLogo()", 10);
}
animateLogo();
-->
</script>

</textarea><br>
<input onclick="javascript:this.form.txt.focus();this.form.txt.select();" type="button" value="全選">
</form>

<BR>

<script type="text/javascript"><!--
google_ad_client = "ca-pub-4078143172638881";
/* 336X280 */
google_ad_slot = "3268225205";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
頁: [1]
查看完整版本: 七彩滑鼠游標