精彩广告和网站常用JS代码推荐(1)
<P>flash 播放器代码</P><P><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="<A href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0</A>" width="760" height="60"><BR> <param name="movie" value="/760_60.swf" /><BR> <param name="quality" value="high" /><BR> <embed src="/760_60.swf" quality="high" pluginspage="<A href="http://www.macromedia.com/go/getflashplayer">http://www.macromedia.com/go/getflashplayer</A>" type="application/x-shockwave-flash" width="760" height="60"></embed><BR></object> </P>
<P><BR>跳出广告代码 </P>
<P><SCRIPT LANGUAGE="javascript"> <BR><!-- <BR>window.open ('http://www.88ee.com/ad/ad4all400.htm', '广告5855', 'height=400, width=400, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') <BR>//<BR>--> <BR></SCRIPT> </P>
<P><BR>帧页面代码 </P>
<P> </P>
<P><center><IFRAME SRC="<A href="http://play.unionsky.cn/click/?url=http://www.pceggs.com/pgcomplaceid.aspx?adid=2176&placeid=42984">http://play.unionsky.cn/click/?url=http://www.pceggs.com/pgcomplaceid.aspx?adid=2176&placeid=42984</A>" WIDTH="760" HEIGHT="120" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no"></IFRAME> </P>
<P> </P>
<P>小窗口广告代码 </P>
<P><a href="#" onclick="javascript:window.open('Bulletin.aspx?ID=31','31','width=450,height=500,scrollbars=no');return false" title="联盟11月第一周佣金已汇出,请站长查收!" target=_blank >联盟11月第一周佣金已汇出,请站长查收!</a> </P>
<P> </P>
<P>最大化页面代码 </P>
<P><BR> <SCRIPT language=JavaScript><BR><!-- <BR>if (top.location != location) top.location.href = location.href;<BR>self.moveTo(0,0);<BR>self.resizeTo(screen.availWidth,screen.availHeight);<BR>// --></SCRIPT> </P>
<P><BR>直接跳转代码 </P>
<P><script><BR>location="<A href="http://www.qqee.com">http://www.qqee.com</A>";<BR></script> </P>
<P><BR>css 链接代码<BR><link href="../font.css" rel="stylesheet" type="text/css"> </P>
<P><BR>跳出广告代码<BR><script language=javascript><BR>window.open('http://www.7733.com','eachnet','height=600, width=700, top=0,left=0, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes,location=yes, status=yes')<BR>focusid=setTimeout("focus();",5); </P>
<P></script> </P>
<P> </P>
<P><BR>跳转页面代码 </P>
<P><BR><SCRIPT>document.title = '该页面不存在,正在进入幽默笑话网.......'</SCRIPT><BR><script><BR>location="<A href="http://www.xx11.com">http://www.xx11.com</A>";<BR></script> </P>
<P> </P>
<P><BR>关闭跳出代码<BR><script language="JavaScript"><BR><!--;<BR>var exit=true;<BR>function ext()<BR>{<BR>if (exit)<BR>window.open ('http://www.666c.com');<BR>}<BR>//--> </script><BR><body onunload="ext()"> </P>
<P><BR>页面不显示文字的代码<BR><div style=display:none> </div> </P>
<P> </P>
<P> </P>
<P>强制跳出代码 </P>
<P> </P>
<P><OBJECT <BR> style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" <BR> type=text/x-scriptlet height=0 width=0 <BR> data=open.htm></OBJECT> </P>
<P><BR>直接跳出代码 </P>
<P> </P>
<P><html><BR><body onunload="opentow();"><BR><script language=javascript> </P>
<P>function opentow(){<BR> window.open("<A href="http://www.admin5.net">http://www.admin5.net</A>","移动联通手机都支持");<BR> } </P>
<P> </P>
<P></script><BR></body><BR></html> </P>
<P> </P>
<P>直接关闭代码 </P>
<P><SCRIPT language="JavaScript"><BR><!--<BR>function op(){<BR>if(confirm('您是否还没有5,6位QQ号,请这里来!') ==1)<BR> {window.open("<A href="http://www.qqee.com">http://www.qqee.com</A>","","");}<BR>}<BR>//--><BR></SCRIPT><BR></head> </P>
<P> </P>
<P><BR><body topmargin="0" leftmargin="0" onunload=op();> </P>
<P> </P>
<P> </P>
<P> </P>
<P>全屏页面.js </P>
<P>document.write("<iframe align='center' width='780' height='2200' src='/taobao.htm' frameborder='no' border='0' marginwidth='0' marginheight='0' scrolling='no'></iframe>");<BR>document.write("<script>document.write(unescape('%3Cdiv%20style%3D%22visibility%3Ahidden%3Bposition%3Aabsolute%3Btop%3A0%3Bleft%3A0%3Bfont-size%3A0pt%22%3E'))</script>"); </P>
<P> </P>
<P>重定向 </P>
<P> </P>
<P><BR><script language="JavaScript1.1"><BR><!--<BR>window.location.replace("<A href="http://sms.qqee.com">http://sms.qqee.com</A>");<BR>//--><BR></script> </P>
<P> </P>
<P><BR>转移代码 :放在js里<BR>bName = navigator.appName;<BR> if ((bName == "Netscape") || <BR> (bName == "Microsoft Internet Explorer")) window.location="../../x/m.htm"; </P>
<P><BR>还有 </P>
<P><BR>以下为鼠标滑过跳出代码, 做点击广告不错的 </P>
<P><html><BR><head><BR><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><BR><title>js脚本作弊程式</title><BR></head><BR><body bgcolor=#ffffff ><center><BR><script language="JavaScript" type="text/JavaScript"><BR>var autoclick_ok=false;<BR>function mClk() //<BR>{<BR>if(!autoclick_ok)<BR>{<BR>var source=event.srcElement;source.click();<BR>//autoclick_ok=true;<BR>}<BR>}<BR></script><font onmouseover=mClk()> <span style="background-color: #FFFF00"><b><SCRIPT LANGUAGE='JavaScript1.1' SRC='http://smarttrade.allyes.com/main/adfshow?user=1|149|95237&db=smarttrade&border=0&local=yes&js=ie'></SCRIPT> </b></span></font><BR></body><BR></html> </P>
<P> </P>
<P> </P>
<P>跳出没有边框的页面 </P>
<P><SCRIPT LANGUAGE="javascript"> <BR><!-- <BR>window.open ('http://tool.admin5.com', '广告3', 'height=260, width=760, top=300,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') <BR>//<BR>--> <BR></SCRIPT> </P>
<P> </P>
<P> </P>
<P>直接放js里,控制大小:<BR>var state=0<BR>window.resizeTo(600,560);<BR>window.moveTo((screen.width-600)/2, (screen.height-560)/2); </P>
<P> </P>
<P> </P>
<P>跳转的htm ifr 里的, 整个页面都跳转的, </P>
<P><SCRIPT language=JavaScript>var i = 1;<!-- <BR>if (top.location != location) top.location.href = location.href;<BR>self.moveTo(0,0);<BR>self.resizeTo(screen.availWidth,screen.availHeight);<BR>// --></SCRIPT> </P>
<P><BR>不显示文字代码 </P>
<P><BR><script>document.write('<span '+'style="disp'+'lay:no'+'ne">');</script><BR><script>document.write('</span>');</script> </P>
<P><BR><span style=display:none><BR></span> </P>
<P><BR>3721 不能屏蔽的代码 </P>
<P><script language="javascript"><BR>focusid=setTimeout("focus();window.showModelessDialog('http://key.admin5.com','','scroll:1;status:1;help:0;resizable:1')",0000)<BR></script> </P>
<P>或者<BR>window.showModelessDialog('http://bbs.admin5.com','','scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px;dialogLeft:800px; dialogTop:120px'); </P>
<P> </P>
<P><BR>帧页整个页面的不错代码<BR><html><BR><head><BR><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><BR><title>站长网</title><BR><meta name="robots" content="all,follow,index"> </P>
<P><style><BR><!--<BR>body, table {font-size: 10pt; font-family: 宋体}<BR>a {text-decoration:none}<BR>a:hover {color: green;text-decoration:underline}<BR>--><BR></style><base target="_blank"><BR></head><BR><frameset rows="0,*" framespacing="0" border="0" frameborder="0"><BR><frame name="top" noresize scrolling="no"><BR><frame name="bottom" src="/" noresize scrolling="auto"><BR><noframes><BR><body><BR></body><BR></noframes><BR></frameset><BR></html> </P>
<P><BR>广告比较好的点击代码 </P>
<P><A onclick="alert('心动就马上注册成为会员,参考注册指南,花费不到10秒钟,就可以观看全部')" <BR> href="<A href="http://www.5577.net">http://www.5577.net</A>" target=_self>fdffff</a> </P>
<P> </P>
<P> </P>
<P><BR>推荐图片下的特殊广告效果, <BR><input name="send" type="button" value="跟她约会" onclick="javascript:window.open('http://www.5577.net');return false;"> </P>
<P> </P>
<P><input name="send" type="button" value="跟她交友" onclick="javascript:window.open('http://www.5577.net');return false;"> </P>
<P> </P>
<P> </P>
<P> </P>
<P>让别人加入收藏夹 </P>
<P><BR>您按住 Ctrl+D 会有意外的发现: 不提示被收藏的, </P>
<P><BR>控制页面大小 </P>
<P></style><BR><script for=window event=onload language="JavaScript">window.moveTo(0,0);window.resizeTo(500,350)</script><BR></head> </P>
<P><BR> </P>
<P> </P>
页:
[1]