非常好的js代码 |
本文标签:js代码 ![]() <body style="overflow-y:hidden"> 去掉x轴 <body style="overflow-x:hidden"> 去掉y轴 <body scroll="no">不显 ![]() <TD onmouseover="this.style.backgroundColor=#FFFFFF" onmouseout="this.style.backgroundColor=" style="CURSOR: hand"> ![]() <body ondragstart=window.event.returnValue=false oncontextmenu=window.event.returnValue=false onselectstart=event.returnValue=false> ![]() <iframe name="name" src="main.htm" width="450" height="287" scrolling="Auto" frameborder="0"></iframe> ![]() <iframe name="pindex" src="index.asp" frameborder=false scrolling="auto" width="100%" height="100%" frameborder=no onload="document.all[pindex].style.height=pindex.document.body.scrollHeight" ></iframe> ![]() <link rel="Shortcut Icon" href="favicon.ico"> <link rel="Bookmark" href="favicon.ico"> ![]() 越来越多的人长期的泡网,眼镜的 遍及率也越来越高,让文字大点,让更多的消费者看的更清晰 。 <script type="text/javascript"> function doZoom(size) {document.getElementById(zoom).style.fontSize=size+px;} </script> <span id="zoom">需求指定大小的文字</span> <a href="javascript:doZoom(16)">大</a> <a href="javascript:doZoom(14)">中</a> <a href="javascript:doZoom(12)">小</a> ![]() 在div里加入下面的代码,依据需求调整就 可以了 。 <iframe src="javascript:false" scrolling="no" frameborder="0" style="z-index:-1;position:absolute; top:5px; left:2px;width:168;height:100px;"> </iframe> ![]() 填写的嵌入地址 定然要和本页面在同一个站点上,不然会 揭示“ 回绝 拜访!” 。对跨域 引用有权限问题,请查阅 其余 材料 。 <iframe name="guestbook" src="gbook/index.asp" scrolling=no width="100%" height="100%" frameborder=no onload="document.all[guestbook].style.height=guestbook.document.body.scrollHeight"></iframe> ![]() <select name="select" onchange="window.open(this.options[this.selectedIndex].value)"> <option value="http://www.microsoft.com/ie"> Internet Explorer</option> <option value="http://www.microsoft.com"> Microsoft Home</option> <option value="http://msdn.microsoft.com"> Developer Network</option> </select> ![]() <param name="wmode" value="transparent"> ![]() 增加到 收藏夹: <a href="javascript:window.external.addFavorite(http://链接, 注明);">增加到 收藏夹</a> 设为首页: <a href=# onclick=this.style.behavior=url(#default#homepage);this.setHomePage (http://链接);>设为首页</a> ![]() <script language=JavaScript> document.write("最终更新 工夫: " + document.lastModified + "") </script> ![]() <Script Language="JavaScript"> var timedate= new Date("October 1,2002"); 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> ![]() 禁止缓存 <meta http-equiv="Expires" CONTENT="0"> <meta http-equiv="Cache-Control" CONTENT="no-cache"> <meta http-equiv="Pragma" CONTENT="no-cache"> ![]() <iframe src="about:<body style=background:transparent>" allowtransparency></iframe> ![]() <script language="JavaScript"> <!-- Begin self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) // End --> </script> ![]() <bgsound src="mid/windblue[1].mid" loop="-1"> 只 实用于IE <embed src="music.mid" autostart="true" loop="true" hidden="true"> 对Netscape ,IE 都 实用 ![]() <marquee direction=up height=146 onmouseout=start() onmouseover=stop() scrollAmount=2>滚动信息 </marquee> ![]() 代码“javascript:void(null)” 接替原来的“#”标记
|