刷新按钮,设为首页,等html代码
1刷新按钮
[color=#ffff00]接钮[/color]
<button >刷新</button>
[color=#ffff00]文字[/color]<a href="#" class="css3">刷新</a>
[color=#ffff00]图片[/color]<img src=1.gif height=24 width=68 alt=open style="cursor:hand" >
2 设为首页
[color=#ffff00]按钮[/color]
<INPUT TYPE="button" VALUE="设为首页" ><BR>
[color=#ffff00]文字[/color]
<SPAN
http://www.7wind.net‘/
" target=_blank>http://www.7wind.net‘);"
style="CURSOR: hand">设为首页</SPAN>
3 添加到收藏夹
[color=#f7f709]按钮[/color]
<INPUT TYPE="button" VALUE="添加到收藏夹" >
[color=#ffff00]文字[/color]
<SPAN
http://www.7wind.net‘/" target=_blank>http://www.7wind.net‘,‘七色风‘)"
style="CURSOR: hand" title=七色风>加入收藏</SPAN
4 禁止用“另存为”保存页面
<no>
<iframe scr="*.htm"></iframe>
</no>
7[color=#ffff00]无用的右键单击[/color]
代码提示:将下面代码复制到<BODY>中
< s c r i p t language=Java>
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
oncontextmenu=‘return false‘;
}
}
if (document.layers) {
if (e.which == 3) {
oncontextmenu=‘return false‘;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.;
document.oncontextmenu = new Function("return false;")
</>