脚本1:进入主页以后自动播放声音
脚本2:进入主页后自动最大话,省的去在自己单击了
脚本3:显示现在时间的脚本
脚本4:显示最后修改时间的脚本
脚本5:设为首页,加为收藏,加入频道,启动outlook发信
onclick=this.style.behavior=url(#default#homepage);
this.sethomepage(yoururl>设为首页
onclick=window.external.addfavorite(location.href,document.title);>加入收藏
加入频道
与我联系
脚本6:状态栏动态显示现在时间
脚本7:关闭窗口的脚本
[关闭窗口]
脚本8:按下f12键,直接返回首页
脚本9:后退,刷新,前进
复制代码 代码如下:
脚本10:设定时间弹出窗口,4000=4秒,当然你可以自定义
复制代码 代码如下:
二 鼠标旁边的提示信息,类似与163登录后的页面提示效果
tip
); function showpopuptext(){ var o=event.srcelement; mousex=event.x; mousey=event.y; if(o.alt!=null && o.alt!=){o.dypop=o.alt;o.alt=}; if(o.title!=null && o.title!=){o.dypop=o.title;o.title=}; if(o.dypop!=spop) { spop=o.dypop; cleartimeout(curshow); cleartimeout(tfadeout); cleartimeout(tfadein); cleartimeout(tfadewaiting); if(spop==null || spop==) { dypoplayer.innerhtml=; dypoplayer.style.filter=alpha(); dypoplayer.filters.alpha.opacity=0; } else { if(o.dyclass!=null) popstyle=o.dyclass else popstyle=cpoptext; curshow=settimeout(showit(),tpopwait); } } } function showit(){ dypoplayer.classname=popstyle; dypoplayer.innerhtml=spop; popwidth=dypoplayer.clientwidth; popheight=dypoplayer.clientheight; if(mousex+12+popwidth>document.body.clientwidth) popleftadjust=-popwidth-24 else popleftadjust=0; if(mousey+12+popheight>document.body.clientheight) poptopadjust=-popheight-24 else poptopadjust=0; dypoplayer.style.left=mousex+12+document.body.scrollleft+popleftadjust; dypoplayer.style.top=mousey+12+document.body.scrolltop+poptopadjust; dypoplayer.style.filter=alpha(opacity=0); fadeout(); } function fadeout(){ if(dypoplayer.filters.alpha.opacity0) { dypoplayer.filters.alpha.opacity-=1; tfadein=settimeout(fadein(),1); } } document.onmouseover=showpopuptext;
[ctrl+a 全选 注:如需引入外部js需刷新才能执行]
