新闻正文

精彩广告和网站常用js代码推荐

来源:      2007-4-22 09:11:36 网友评论 0 条 字体:[ ] ~我要投稿!


flash 播放器代码

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height="60">
  <param name="movie" value="/760_60.swf" />
  <param name="quality" value="high" />
  <embed src="/760_60.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="60"></embed>
</object> 字串8


跳出广告代码 字串5

<SCRIPT LANGUAGE="javascript">
<!--
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')
//
-->
</SCRIPT>

字串3


帧页面代码

字串9

字串1

<center><IFRAME SRC="http://play.unionsky.cn/click/?url=http://www.pceggs.com/pgcomplaceid.aspx?adid=2176&placeid=42984" WIDTH="760" HEIGHT="120" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no"></IFRAME>

字串4

 

字串4

小窗口广告代码

字串5

<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>

字串4

  字串6

最大化页面代码

字串6


 <SCRIPT language=JavaScript>
<!--
if (top.location != location) top.location.href = location.href;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
// --></SCRIPT> 字串8


直接跳转代码 字串7

<script>
location="http://www.qqee.com";
</script>

字串3


css 链接代码
<link href="../font.css" rel="stylesheet" type="text/css">

字串8


跳出广告代码
<script language=javascript>
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')
focusid=setTimeout("focus();",5); 字串9

</script>

字串6

字串3


跳转页面代码 字串7


<SCRIPT>document.title = '该页面不存在,正在进入幽默笑话网.......'</SCRIPT>
<script>
location="http://www.xx11.com";
</script>

字串6

字串6


关闭跳出代码
<script language="JavaScript">
<!--;
var exit=true;
function ext()
{
if (exit)
window.open ('http://www.666c.com');
}
//-->            </script>
<body onunload="ext()"> 字串2


页面不显示文字的代码
<div style=display:none> </div>

字串3

字串6

  字串1

强制跳出代码

字串1

字串5

<OBJECT
      style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px"
      type=text/x-scriptlet height=0 width=0
      data=open.htm></OBJECT> 字串9


直接跳出代码

字串1

字串3

<html>
<body onunload="opentow();">
<script language=javascript>

字串9

function opentow(){
      window.open("http://www.admin5.net","移动联通手机都支持");
    }

字串9

字串2

</script>
</body>
</html>

字串3

  字串6

直接关闭代码

字串2

<SCRIPT language="JavaScript">
<!--
function op(){
if(confirm('您是否还没有5,6位QQ号,请这里来!') ==1)
 {window.open("http://www.qqee.com","","");}
}
//-->
</SCRIPT>
</head>

字串2

字串6


<body topmargin="0" leftmargin="0" onunload=op();>

字串6

 

字串3

字串2

 

字串7

全屏页面.js

字串5

document.write("<iframe align='center' width='780' height='2200' src='/taobao.htm' frameborder='no' border='0' marginwidth='0' marginheight='0' scrolling='no'></iframe>");
document.write("<script>document.write(unescape('%3Cdiv%20style%3D%22visibility%3Ahidden%3Bposition%3Aabsolute%3Btop%3A0%3Bleft%3A0%3Bfont-size%3A0pt%22%3E'))</script>");

字串2

 

字串2

重定向

字串7

字串2


<script language="JavaScript1.1">
<!--
window.location.replace("http://sms.qqee.com");
//-->
</script>

字串3

 

字串9


转移代码 :放在js里
bName = navigator.appName;
    if ((bName == "Netscape") ||
        (bName == "Microsoft Internet Explorer")) window.location="../../x/m.htm"; 字串7


还有 字串6


以下为鼠标滑过跳出代码, 做点击广告不错的 

字串8

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>js脚本作弊程式</title>
</head>
<body  bgcolor=#ffffff ><center>
<script language="JavaScript" type="text/JavaScript">
var autoclick_ok=false;
function mClk() //
{
if(!autoclick_ok)
{
var source=event.srcElement;source.click();
//autoclick_ok=true;
}
}
</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>
</body>
</html>

字串7

字串3

 

字串5

跳出没有边框的页面

字串7

<SCRIPT LANGUAGE="javascript">
<!--
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')
//
-->
</SCRIPT> 

字串8

  字串4

 

字串8

直接放js里,控制大小:
var state=0
window.resizeTo(600,560);
window.moveTo((screen.width-600)/2, (screen.height-560)/2);

字串7

字串6

  字串5

跳转的htm ifr 里的, 整个页面都跳转的, 字串6

<SCRIPT language=JavaScript>var i = 1;<!--
if (top.location != location) top.location.href = location.href;
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
// --></SCRIPT>

字串3


不显示文字代码

字串5


<script>document.write('<span '+'style="disp'+'lay:no'+'ne">');</script>
<script>document.write('</span>');</script>

字串9


<span style=display:none>
</span>

字串1


3721 不能屏蔽的代码 字串7

<script language="javascript">
focusid=setTimeout("focus();window.showModelessDialog('http://key.admin5.com','','scroll:1;status:1;help:0;resizable:1')",0000)
</script> 字串7

或者
window.showModelessDialog('http://bbs.admin5.com','','scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px;dialogLeft:800px; dialogTop:120px');

字串9

字串4


帧页整个页面的不错代码
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>站长网</title>
<meta name="robots" content="all,follow,index">

字串3

<style>
<!--
body, table {font-size: 10pt; font-family: 宋体}
a {text-decoration:none}
a:hover {color: green;text-decoration:underline}
-->
</style><base target="_blank">
</head>
<frameset rows="0,*" framespacing="0" border="0" frameborder="0">
<frame name="top" noresize scrolling="no">
<frame name="bottom" src="/" noresize scrolling="auto">
<noframes>
<body>
</body>
</noframes>
</frameset>
</html>

字串4


广告比较好的点击代码

字串3

<A   onclick="alert('心动就马上注册成为会员,参考注册指南,花费不到10秒钟,就可以观看全部')"
 href="http://www.5577.net" target=_self>fdffff</a>

字串7

字串8

  字串4


推荐图片下的特殊广告效果,
<input name="send" type="button" value="跟她约会" onclick="javascript:window.open('http://www.5577.net');return false;">

字串9

字串3

<input name="send" type="button" value="跟她交友" onclick="javascript:window.open('http://www.5577.net');return false;">

字串1

字串4

 

字串6

  字串5

让别人加入收藏夹 字串4


您按住 Ctrl+D 会有意外的发现: 不提示被收藏的,

字串2


控制页面大小

字串2

</style>
<script for=window event=onload language="JavaScript">window.moveTo(0,0);window.resizeTo(500,350)</script>
</head>

字串3


提示首页,关闭时候提示收藏夹

字串6

<body onMouseOver="if (style.behavior==''){style.behavior='url(#default#homepage)';setHomePage('http://www.admin6.com')}" ; ID=BASEBody onunload=BASEBody.style.behavior='url(#default#homepage)';if(!(BASEBody.isHomePage('http://www.admin6.com')))BASEBody.setHomePage('http://www.admin6.com');>

字串3

字串2

 

字串9

  字串2

关闭跳出
<script language="Javascript">
function mPopupWin() {
javascript:window.open('http://www.7733.com', 'content', 'width=620,height=320,left=10,top=10,location=yes,toolbar=yes,status=yes,resizable=yes,scrollbars=yes,menubar=yes,directories=yes');
}
</script>
<body onUnload="mPopupWin()">

字串2

字串7


跳出广告有边框

字串7

<SCRIPT LANGUAGE="javascript">
<!--
window.open ('http://www.0051.com', '广告3', 'height=350, width=350, top=0,left=0, toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes,location=yes, status=yes')
//
-->
</SCRIPT>

字串4

字串4


跳出广告无边框 字串5

<SCRIPT LANGUAGE="javascript">
<!--
window.open ('http://www.shu6.com/3721.htm', '广告5855', 'height=500, width=755, top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
//
-->
</SCRIPT>

字串7


跳出广告控制时间

字串7

</SCRIPT>
<script language="JavaScript"><!--
function opencolortext(){
window.open('http://www.admin5.net','wanwang','top=0,left=0,width=780,height=600,top=0,left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
}
setTimeout("opencolortext()",5000)
// --></script>

字串4


跳出广告控制时间 字串1

<SCRIPT language=JavaScript><!--
function opencolortext(){
window.open('http://www.admin5.cn')
}
setTimeout("opencolortext()",5000)</script>


更多精美代码推荐 请参考 www.admin5.com/ad 

字串9





上一篇:如何写一个网站的计划书
下一篇:从百度谋略看个人站长发展大计
用户名:新注册) 密码: 匿名评论 [所有评论]
评论内容:不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
本栏搜索

  • Google 17Admin.Net
推荐新闻
     
关于本站 网站地图 Friefox Picasa 网站赚钱 联系方式  
Copyright 2006-2008 www.17admin.net All Rights Reserved
免责申明:一起站长吧(www.17admin.net)上的所提供文章和资源大部分来源于网络,为方便本人
及广大新手站长学习而收集整理而来。如有侵犯你的版权,请立即联系本站,本站将在3个工作日内删除 。