ÓÃJavaScriptʵÏÖÎÄ×ÖÎ§ÈÆÊó±êת¶¯
if (document.all)
{
yourLogo = "»¶Ó½øÈëÏÊ»¨¹¤·»Íø£¡"; <!--´ýÐýתµÄÎÄ×Ö-->
logoFont = "Arial"; <!--ÎÄ×ÖµÄ×ÖÌå-->
logoColor = "blue"; <!--ÎÄ×ÖµÄÑÕÉ«-->
yourLogo = yourLogo.split(''); <!--½«ÐýתµÄ×Ö·û´®·Ö³Éµ¥¸öµÄ×Ö·û-->
L = yourLogo.length; <!--»ñµÃ×Ö·û´®µÄ³¤¶È-->
TrigSplit = 360 / L; <!--ÉèÖÃÿ´ÎÐýתµÄ½Ç¶È-->
Sz = new Array() <!--ÉùÃ÷Ò»¸öÊý×é-->
logoWidth = 100; <!--¶¨Òå¿í¶È-->
logoHeight = -30; <!--¶¨Òå¸ß¶È-->
ypos = 0;
xpos = 0;
step = 0.03;  
Ïà¹ØÎĵµ£º
ŬÁ¦ÁËÒ»ÌìÔÙ¼ÓÒ»Ì죬¾Íд¸ö½Å±¾»¹ÊDz»ÐС£Ôõô°ì¡£
ÏÂÃæµÄ´úÂëÓдíµÄ£¬Ö´Ðв»ÁË¡£ÔÝʱ»¹Ã»Óз¢ÏÖMyEclipseÀïÃæÈçºÎÀ´µ¥²½µ÷ÊÔ£¬¾ÍÏñÔÚvs2005ÀïÃæ¿ÉÒÔ°´×¡F10À´µ÷ÊÔ£¬¿´³ö×Ô¼ºµÄÄǸöÓï¾äд´íÁË£¬¶øÔÚÀïÖ»Äܹ»×Ô¼º¼ì²é£¬²éÁ˶àÉÙ±éÁËÒ²»¹ÊÇûÓÐÄܹ»·¢ÏÖÓÐʲô´íµÄ¡£´úÂëժ¼ÈçÏ£º
<script language="javaScript ......
Ч¹ûÑÝʾµØÖ·£ºhttp://www.phzzy.org/code/drag/google_drag.html
ÍÏ×§ÔÀí£º
¹ØÓÚÍÏ×§µÄ»ù´¡£¬¿ÉÒԲο¼ÕâÆªÎÄÕ£¬½²µÃ·Ç³£²»´í¡£
http://www.sohotx.com/mzk/index.php/1007/ArticleContent/298.html
ÆäʵÔÀíºÜ¼òµ¥£¬¾ÍÊǰѰó¶¨Èý¸öʼþ£ºonmousedown , onmousemove , onmouseup¡£
ÔÚÊó±êµãÏÂʱ(onmousedown)° ......
ÀýÈ磺ÓÐÈý¸öÀàclassX,classY,classZ
classZ·Ö±ð¼Ì³ÐclassXºÍclassY
ÓÚÊǾÍÓÐÏÂÃæµÄд·¨£º
function ClassZ(){
this.newMethod=classX;
this.newMethod();
delete this.newMethod;
this.newMethod=classY;
this.newMethod();
delete this.newMethod;
}
ÕâÖÖд·¨´æÔÚÒ»¸ö±×¶Ë.¡£Èç¹ûclassXºÍclassYÓоßÓÐͬÃûµÄÊô ......