网页内广告代码怎么弄?
来源:百度知道 编辑:UC知道 时间:2024/06/24 16:09:22
希望有人能明白我的意思,多谢各位啦!
比如新浪博客首页2边的广告条,带有关闭字样的,那个代码是什么啊?怎么做?我想做一个类似这样的在放在右下角,是不是要用到引用的页面啊?具体代码怎么弄?这个对我来说太复杂了啊,DW里琢磨不出来.......
把代码放到</head>之前
左栏浮动广告
<script language=javascript>var specialcode="<DIV id=searchspe style='Z-INDEX: <script language=javascript>var specialcode="<DIV id=searchspe style='Z-INDEX: 100; right: 1px; POSITION: absolute; TOP: 180px;'><TABLE cellSpacing=0 cellPadding=0 width=150 style='border-left:1px solid #2E6287;border-top:1px solid #2E6287;border-right:1px solid #2E6287;font-size:12px;color:#ffffff; border-bottom-color:#2E6287; border-bottom-width:1px'><TR bgcolor=#2E6287><TD height=20> 推荐↓</TD><TD style='CURSOR: hand' onclick=searchspe.style.visibility='hidden' width=30>关 闭</TD></TR></TABLE><table border='1' width='150' height='500' bordercolor='#2E6287'><tr><td>广告内容</td></tr></table></DIV>";document.write(specialcode);lastScrollY=0;function heartBeat0(){diffY=document.