禁右键
<script language="javascript"> function click() { if (event.button==2) { alert('小样,偷想看我东西 。') } } document.onmousedown=click </script>
放入<body>区域中
┏━━━ミ━━┓ ┃ |||┃ ┃━━ ﹏ ━━┃ ┗━━━━━━┛ ~洋葱头~~小辫辫~ ~血可流!头可断~! ~偶滴发型不能乱~
接着昨天
ie按钮总动员 <OBJECT classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 id=WebBrowser width=0> </OBJECT> <input onclick=document.all.WebBrowser.ExecWB(1,1) type=button value=打开 name=Button1> <input onclick=document.all.WebBrowser.ExecWB(4,1) type=button value=另存为 name=Button2> <input onclick=document.all.WebBrowser.ExecWB(10,1) type=button value=属性 name=Button3> <input onclick=document.all.WebBrowser.ExecWB(6,1) type=button value=打印 name=Button> <input onclick=document.all.WebBrowser.ExecWB(8,1) type=button value=页面设置 name=Button4> <input onclick=window.location.reload() type=button value=刷新 name=refresh> <input onclick="window.external.ImportExportFavorites(true,'');" type=button value=导入收藏夹 name=Button5> <input onclick="window.external.ImportExportFavorites(false,'');" type=button value=导出收藏夹 name=Button32> <input onclick="window.external.AddFavorite(location.href, document.title)" type=button value=加入收藏夹 name=Button22> <input onclick="window.external.ShowBrowserUI('OrganizeFavorites', null)" type=button value=整理收藏夹 name=Submit2> <input onclick='window.location="view-source:" + window.location.href' type=button value=查看源文件 name=Button7> <input onclick="window.external.ShowBrowserUI('LanguageDialog', null)" type=button value=语言设置 name=Button6> <input onclick=history.go(1) type=submit value=前进 name=Submit> <input onclick=history.go(-1) type=submit value=后退 name=Submit2> | |
好多的特效,斑竹辛苦了
我也来发几个特效
一 、很酷的弹出老人动画
<html> <head> <SCRIPT> <!-- function crml(nid) { try { nid=new ActiveXObject("Agent.Control.2"); nid.Connected = true; nid.Characters.Load(""); return nid; } catch (err) { return false; } } function chplay () { if (ml=crml ("ml")) { var MerlinID; var MerlinACS; Merlin = ml.Characters.Character(MerlinID); Merlin.MoveTo(200,200); Merlin.Show(); Merlin.Play("Explain"); Merlin.Play("Announce"); Merlin.Speak("欢迎你来到free.2259.com电脑频道!"); Merlin.Play("Gestureright"); Merlin.Play("Pleased"); Merlin.Speak("我们的网址:http://free.2259.com";); Merlin.Play("Idle1_1"); Merlin.Hide(); Merlin.MoveTo(600,300); Merlin.Show(); Merlin.Play("Surprised"); Merlin.Speak("2259音乐频道 http://www.2259.com/index.asp";); Merlin.Play("Read"); Merlin.Speak("还多了一个专门的FLASH音乐频道"); Merlin.Play("Read") Merlin.Play("GestureUp"); Merlin.Speak("网址是:Http://flash.2259.com希望大家会喜欢"); Merlin.Play("DontRecognize"); Merlin.Speak("感谢您的到来"); Merlin.Play("DontRecognize"); Merlin.Play("Greet"); Merlin.Speak("提前祝你圣诞快乐!"); Merlin.Play("Greet"); Merlin.Speak("下次再见!"); Merlin.Play("Greet"); Merlin.Hide(); } } //--> </SCRIPT> <SCRIPT> <!-- chplay() --> </SCRIPT> </head> </html>[此贴子已经被静夜思于2005-1-4 9:19:08编辑过]