您好!欢迎您光临常用网页代码_【百荷音画驿站】音画教程 flash素材 音画欣赏 幽幽百荷 cctv118.com! 体育 I 论坛 I 交友 I

会员注册

I

本站搜索

I

收藏本站

当前位置:首页 >>>【网站建设】>>>常用网页代码
常用网页代码
发表日期:2007/10/9 3:01:00 出处:未知 作者:未知 发布人:baihe99 已被访问 97
常用网页代码


1. oncontextmenu="window.event.return&#118alue=false" 将彻底屏蔽鼠标右键

   <table border oncontextmenu=return(false)><td>no</table> 可用于Table

  2. <body onselectstart="return false"> 取消选取、防止复制

  3. onpaste="return false" 不准粘贴

  4. oncopy="return false;" oncut="return false;" 防止复制

  5. <link rel="Shortcut Icon" href="favicon.ico"> IE地址栏前换成自己的图标

  6. <link rel="Bookmark" href="favicon.ico"> 可以在收藏夹中显示出你的图标

  7. <input style="ime-mode:disabled"> 关闭输入法

  8. 永远都会带着框架

  <script language="&#106avascript"><!--

   if (window == top)top.location.href = "frames.htm"; //frames.htm为框架网页

  // --></script>

  9. 防止被人frame

  <SCRIPT LANGUAGE=&#106avascript><!--

   if (top.location != self.location)top.location=self.location;

  // --></SCRIPT>

  10. <noscript><iframe src=*.html></iframe></noscript> 网页将不能被另存为

<body oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false">
(禁复制)

 

<P align=center><EMBED src=加mp3音乐网址 width=0 height=0 type=audio/x-pn-realaudio-plugin Loop="true" AutoStart="true" controls="ControlPanel,StatusBar"></EMBED> (背景音乐)

 

<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=500 background=http://www.cn898.net/bbs/UploadFile/20044244514090780.jpg border=0>
<TBODY>
<TR>
<TD style="FILTER: Alpha(opacity=100,style=2)" width=500 background=加图片网址 height=400><EMBED pluginspage=http://www.macromedia.com/go/getflashplayer src=http://wujiren.jahee.com/main/img/3.swf width=500 height=400 type=application/x-shockwave-flash    (雾化)

<DIV><CENTER><EMBED style="RIGHT: 100px; WIDTH: 800px; POSITION: absolute; TOP: 0px; HEIGHT: 1000px" align=right src=http://mtv.vicn.com/upload/20044822584113457.swf type=application/octet-stream ;; quality="high" wmode="transparent"> </CENTER></DIV>     <星光>

<EMBED style="LEFT: 50px; WIDTH: 850px; POSITION: absolute; TOP: 100px; HEIGHT: 1500px" align=right src=http://bbs.flasher123.com/UploadFile/2004-9/20049120533895073.swf width=500 height=1500 type=application/octet-stream wmode="transparent" quality="high" ;;></EMBED>    <玫瑰>

<DIV>
<CENTER><EMBED style="RIGHT: 100px; WIDTH: 800px; POSITION: absolute; TOP: 0px; HEIGHT: 1000px" align=right src=http://mtv.vicn.com/upload/2004482259258397.swf&nbsp;&nbsp;type=application/octet-stream type=application/x-shockwave-flash ;; quality="high" wmode="transparent"> </CENTER>
<CENTER><EMBED style="RIGHT: 100px; WIDTH: 700px; POSITION: absolute; TOP: 0px; HEIGHT: 3000px" align=right

<DIV><CENTER><EMBED style="RIGHT: 100px; WIDTH: 800px; POSITION: absolute; TOP: 0px; HEIGHT: 1000px" align=right src=http://www.cjhz.com/bbs/UploadFile/2004-8/20048710239871.swf type=application/octet-stream wmode="transparent" quality="high" ;;> </CENTER>
<CENTER><EMBED style="RIGHT: 100px; WIDTH: 700px; POSITION: absolute; TOP: 0px; HEIGHT: 1300px" align=right src=http://forshine.net/flash/84.s wf type=application/octet-stream wmode="transparent" quality="high" ;;></DIV>     (叶)

 

 

 <script>
var i = Math.round(Math.random()*30); 
var browsername = navigator.appName;
var gettype = browsername;
if (gettype=="Netscape") {
document.write(''''<embed src="http://www.dabaoku.com/bjyinyue/mid/''''+i+''''.mid" autostart=true WIDTH=0 HEIGHT=0 REPEAT=TRUE>'''')}
else {document.write(''''<bgsound src=http://www.dabaoku.com/bjyinyue/mid/''''+i+''''.mid loop=-1>'''')        }
</script>         (音乐)

 

 

<SCRIPT language=JavaScript>
<!-- Begin
Image0 = new Image();
Image0.src = "http://xz4.2000y.net/100035/uploadpic/2005223102340917.gif";//将图片换成你需要的图片.
Amount = 20;
Ymouse = -50;
Xmouse = -50;
Ypos = new Array();
Xpos = new Array();
Speed = new Array();
rate = new Array();
grow = new Array();
Step = new Array();
Cstep = new Array();
nsSize = new Array();
ns = (document.layers)?1:0;
(document.layers)?window.captureEvents(Event.MOUSEMOVE):0;
function Mouse(evnt) {
Ymouse=(document.layers)?evnt.pageY-20:ev

 

双击自动滚屏 【打印本页】 【关闭窗口

上篇文章:网页三剑客教程!

下篇文章:用代码做的很好看的特效字

 相关评论:

没有相关评论

 发表评论:

身份选择:会员 游客(游客不需要输入密码)
用 户 名: 密 码:
评论内容:
(最多评论字数:500)

【百荷音画驿站】音画教程 flash素材 音画欣赏 幽幽百荷 cctv118.com | 设为首页 | 加入收藏 | 联系我们 | 进入管理 | 关于站长 | 本站搜索

联系电话:13772211718 站长QQ:546683833 联系人:幽幽百荷

琼icp备09005167