ÓÃ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)° ......
alert(parseInt("101101", 2))
ÔËÐдúÂë
function toBin(intNum) {
var answer = "";
if(/\d+/.test(intNum)) {
while(intNum != 0) {
answer = Math.abs(intNum%2)+answer;
intNum = parseInt(intNum/2);
}
......
//set cookie
function setcookie(name,value){
var Days = 30;
var exp = new Date();
exp.setTime(exp.getTime() + Days*24*60*60*1000);
document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
}
function getcookie(name) ......