请问这个对联广告代码的“链接地址”加在哪里啊?

<scriptlanguage="javascript">functioninitEcAd(){document.all.AdLayer1.style.posTop=-2... <script language="javascript">
function initEcAd() {
document.all.AdLayer1.style.posTop = -200;
document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -200;
document.all.AdLayer2.style.visibility = 'visible'
MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
function MoveLeftLayer(layerName) {
var x = 5;
var y = 100;// 左侧广告距离页首高度
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = parseInt(y)");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
function MoveRightLayer(layerName) {
var x = 5;
var y = 100;//右侧广告距离页首高度
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}
document.write("<div id=AdLayer1 style='position: absolute;visibility:hidden;z-index:1'><a href='#' target='_blank'><img src=http://www.haofa.net/sucai/guajian/img/024.gif border='0'></a></div>"+"<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'><a href='#' target='_blank'><img src=http://yqlk.any2000.com/y/q/yqlk/up/52.gif border='0'></a></div>");
initEcAd()// JavaScript Document
</script>
展开
 我来答
wutonglee
2007-04-10 · TA获得超过2174个赞
知道小有建树答主
回答量:307
采纳率:0%
帮助的人:0
展开全部
<a href='#' target='_blank'><img src=http://www.haofa.net/sucai/guajian/img/024.gif border='0'></a></div>"+"<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'><a href='#' target='_blank'><img src=http://yqlk.any2000.com/y/q/yqlk/up/52.gif border='0'></a></div>");

这一段代码里有两个“#” 用链接地址替换就行了
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式