ÍøÒ³ÌØÐ§´úÂë°üº¬ÓÐ¹ã¸æ´úÂë¡¢µ¼º½²Ëµ¥´úÂë¡¢ÈÕÀú¿Ø¼þ¡¢Æ®¸¡ÌØÐ§¡¢ÎÄ×ÖÌØÐ§¡¢É«²ÊÌØÐ§¼°Í¼Æ¬ÌØÐ§µÈ£¬Í¨¹ýÒ»¸ö¸öÏʻµäÐ͵ÄʵսÀ´´ïµ½Ñ§ÒÔÖÂÓá£ÏÂÃæ³É¶¼ÍøÕ¾½¨É蹫˾´´Ð»¥Áª¾ÍºÍ´ó¼Ò·ÖÏíÏÂÍøÒ³Éè¼Æ³£ÓÃJavascript¾µä´úÂë¡£
1£®Ìí¼Óµ½ÊղؼÐ
£¼script Language="Javascript"£¾
¡¡¡¡function bookmarkit()
¡¡¡¡{
¡¡¡¡window.external.addFavorite(¡¯http://ÄãµÄÍøÖ·¡¯,¡¯ÄãµÄÍøÕ¾Ãû³Æ¡¯)
¡¡¡¡}
¡¡¡¡if (document.all)document.write(¡¯£¼a href="#" £¾¼ÓÈëÊղؼУ¼/a£¾¡¯)
£¼/script£¾
2£®Èó¬Á´½Ó²»ÏÔʾÏ»®Ïß
£¼style type="text/css"£¾
¡¡¡¡£¼!-
¡¡¡¡a:link{text-decoration:none}
¡¡¡¡a:hover{text-decoration:none}
¡¡¡¡a:visited{text-decoration:none}
¡¡¡¡-£¾
£¼/style£¾
3£®½ûÖ¹Êó±êÓÒ¼üµÄ¶¯×÷
£¼script Language = "Javascript"£¾
¡¡¡¡function click() { if (event.button==2||event.button==3)
¡¡¡¡{
¡¡¡¡alert(¡¯½ûÖ¹Êó±êÓÒ¼ü¡¯);
¡¡¡¡}
¡¡¡¡document.onmousedown=click // --£¾
£¼/script£¾
4£®ÉèÖøÃҳΪÊ×Ò³
£¼body bgcolor="#FFFFFF" text="#000000"£¾
¡¡¡¡£¼!-- http://ÄãµÄÍøÖ·--£¾
¡¡¡¡£¼a class="chlnk" style="cursor:hand" href
¡¡¡¡onClick="this.style.behavior=¡¯url(#default#homepage)¡¯;
¡¡¡¡this.setHomePage(¡¯ÄãµÄÍøÕ¾Ãû³Æ);"£¾£¼font color="000000" size="2" face="ËÎÌå"£¾ÉèΪÊ×Ò³£¼/font£¾£¼/a£¾
£¼/body£¾
5£®ÈÃÎÄ×Ö²»Í£µØ¹ö¶¯
£¼MARQUEE£¾¹ö¶¯ÎÄ×Ö£¼/MARQUEE£¾
6£®¼Ç¼²¢ÏÔÊ¾ÍøÒ³µÄ×îºóÐÞ¸Äʱ¼ä
£¼script language=Javascript£¾
¡¡¡¡document.write("×îºó¸üÐÂʱ¼ä: " + document.lastModified + "")
£¼/script£¾
7£®¹Ø±Õµ±Ç°´°¿Ú
£¼a href="/"£¾¹Ø±Õ´°¿Ú£¼/a£¾
5Ãëºó¹Ø±Õµ±Ç°Ò³
£¼script language="Javascript"£¾
¡¡¡¡£¼!--
¡¡¡¡setTimeout(¡¯window.close();¡¯,5000);
¡¡¡¡--£¾
£¼/script£¾
9£®2ÃëºóÔØÈëÖ¸¶¨ÍøÒ³
£¼head£¾
¡¡¡¡£¼meta http-equiv="refresh" content="2;URL=http://ÄãµÄÍøÖ·"£¾
£¼/head£¾
10£®½ÚÈÕµ¹¼ÆÊ±
£¼script Language="Javascript"£¾
¡¡¡¡var timedate= new Date("December 25,2003");
¡¡¡¡var times="Ê¥µ®½Ú";
¡¡¡¡var now = new Date();
¡¡¡¡var date = timedate.getTime() - now.getTime();
¡¡¡¡var time = Math.floor(date / (1000 * 60 * 60 * 24));
¡¡¡¡if (time £¾= 0)
¡¡¡¡document.write("ÏÖÔÚÀë"+times+"»¹ÓÐ: "+time +"Ìì")
£¼/script£¾
11£®Ë®Öе¹Ó°Ð§¹û
¡¡¡¡£¼img id="reflect" src="Äã×Ô¼ºµÄͼƬÎļþÃû" width="175" height="59"£¾
¡¡¡¡£¼script language="Javascript"£¾
¡¡¡¡function f1()
¡¡¡¡{
¡¡¡¡¡¡¡¡setInterval("mdiv.filters.wave.phase+=10",100);
¡¡¡¡}
¡¡¡¡if (document.all)
¡¡¡¡{
¡¡¡¡¡¡¡¡document.write(¡¯£¼img id=mdiv src="¡¯+document.all.reflect.src+¡¯"
¡¡¡¡¡¡¡¡style="filter:wave(strength=3,freq=3,phase=0,lightstrength=30) blur() flipv()"£¾¡¯)
¡¡¡¡¡¡¡¡window.onload=f1
¡¡¡¡}
¡¡¡¡£¼/script£¾
12£®ÂýÂý±ä´óµÄ´°¿Ú
£¼script Language="Javascript"£¾
¡¡¡¡£¼!--
¡¡¡¡var Windowsheight=100
¡¡¡¡var Windowswidth=100
¡¡¡¡var numx=5
¡¡¡¡function openwindow(thelocation){
¡¡¡¡temploc=thelocation
¡¡¡¡if
¡¡¡¡(!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById))
¡¡¡¡{
¡¡¡¡¡¡¡¡window.open(thelocation)
¡¡¡¡¡¡¡¡return
¡¡¡¡}
¡¡¡¡windowsize=window.open("","","scrollbars")
¡¡¡¡windowsize.moveTo(0,0)
¡¡¡¡windowsize.resizeTo(100,100)
¡¡¡¡tenumxt()
¡¡¡¡}
¡¡¡¡function tenumxt(){
¡¡¡¡if (Windowsheight£¾=screen.availHeight-3)
¡¡¡¡¡¡¡¡numx=0
¡¡¡¡windowsize.resizeBy(5,numx)
¡¡¡¡Windowsheight+=5
¡¡¡¡Windowswidth+=5
¡¡¡¡if (Windowswidth£¾=screen.width-5)
¡¡¡¡{
¡¡¡¡¡¡¡¡windowsize.location=temploc
¡¡¡¡¡¡¡¡Windowsheight=100
¡¡¡¡¡¡¡¡Windowswidth=100
¡¡¡¡¡¡¡¡numx=5
¡¡¡¡¡¡¡¡return
¡¡¡¡}
¡¡¡¡setTimeout("tenumxt()",50)
¡¡¡¡}
¡¡¡¡//--£¾
£¼/script£¾
¡¡¡¡£¼p£¾£¼a href="javascript:openwindow(ÄãµÄÍøÖ·)"£¾½øÈ룼/a£¾
13£®¸Ä±äIEµØÖ·À¸µÄIEͼ±ê
¡¡¡¡ÎÒÃÇÒªÏÈ×öÒ»¸ö16*16µÄicon£¨Í¼±êÎļþ£©£¬±£´æÎªindex.ico¡£°ÑÕâ¸öͼ±êÎļþÉÏ´«µ½¸ùĿ¼Ï²¢ÔÚÊ×Ò³£¼head£¾£¼/head£¾Ö®¼ä¼ÓÉÏÈçÏ´úÂ룺
£¼link REL = "Shortcut Icon" href="index.ico"£¾
14£®µ¥»÷°´Å¥´òÓ¡³öµ±Ç°Ò³
£¼script Language="Javascript"£¾
¡¡¡¡£¼!-- Begin
¡¡¡¡if (window.print) {
¡¡¡¡document.write(¡¯£¼form£¾¡¯
¡¡¡¡+ ¡¯£¼input type=button name=print value="´òÓ¡±¾Ò³" ¡¯
¡¡¡¡+ ¡¯£¾£¼/form£¾¡¯);
¡¡¡¡}
¡¡¡¡// End --£¾
£¼/script£¾
15£®µ¥»÷°´Å¥¡®Áí´æÎª¡¯µ±Ç°Ò³
£¼input type="button" name="Button" value="±£´æ±¾Ò³"
¡¡¡¡£¾
¡¡¡¡£¼object id="button"
¡¡¡¡width=0
¡¡¡¡height=0
¡¡¡¡classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"£¾
¡¡¡¡£¼embed width="0" height="0"£¾£¼/embed£¾
¡¡¡¡£¼/object£¾