关于DIV广告代码的QQ图标和MSN图标不在一行的问题
如题代码如下
//QQ图标和MSN图标不在一行的问题
//QQ图标和MSN图标不在一行的问题
//QQ图标和MSN图标不在一行的问题
<div id='live61043'></div>
<script language="JavaScript" type="text/javascript" for="window" event="onload">
initAd();//载入页面后,调用函数initAd()
</script>
<script language="JavaScript" type="text/javascript">
<!--
function initAd() {
document.all.AdLayer.style.posTop = -200;
//设置onLoad事件激发以后,广告层相对于固定后的y方向位置
document.all.AdLayer.style.visibility = 'visible'//设置层为可见
MoveLayer('AdLayer');//调用函数MoveLayer()
}
function MoveLayer(layerName) {
var x = 840;//浮动广告层固定于浏览器的x方向位置
var y = 160;//浮动广告层固定于浏览器的y方向位置
var diff = (document.body.scrollTop + y - document.all.AdLayer.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posLeft = x");//移动广告层
setTimeout("MoveLayer('AdLayer');", 20);//设置20毫秒后再调用函数MoveLayer()
}
//-->
</script>
<!--下面为一个ID为AdLayer的层(如ID名不为AdLayer,
上面MoveLayer()内的AdLayer也要作相应修改),包括一张带链接的图片-->
<div id="AdLayer" style='position:absolute; width:130px; height:39px; z-index:20; visibility:hidden;; left: 650px; top: 300px'> <br />
<script language="JavaScript" type="text/javascript">
p = new Array(11);
t = new Array(11);
k= new Array(14);
p[0] = 'islion2006@'
p[1] = 'yangpengsunny@'
p[2] = 'islion2008@'
p[3] = 'islion2013@'
p[4] = 'islion2016@'
p[5] = 'islion2007@'
p[6] = 'islion2009@'
p[7] = 'islion2006@'
p[8] = 'yangpengsunny@'
p[9] = 'islion2008@'
p[10] = 'islion2011@'
t[0] = "Angelina"
t[1] = "Sunny"
t[2] = 'Lucy'
t[3] = "Adeline"
t[4] = 'Ruby'
t[5] = "Jenny"
t[6] = 'Ariel '
t[7] = "Angelina"
t[8] = "Sunny"
t[9] = 'Lucy'
t[10] = 'Audrey'
k[0] = "416039220"
k[1] = "55169264"
k[2] = '304845734'
k[3] = "113691014"
k[4] = '42271025'
k[5] = "157264213"
k[6] = '442024428'
k[7] = "416039220"
k[8] = "55169264"
k[9] = '304845734'
k[10] = '576019905'
index = Math.floor(Math.random() *4);document.write("<H4 >");
document.write("<a target=blank href=tencent://message/?uin="+k[index]+"&Site=www. border='0' SRC=http://wpa.[index]+":4 alt="+ t[index]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index]+">"+ t[index]+"</A>");
document.write(" <br>");
document.write("<a target=blank href=tencent://message/?uin="+k[index+ 1]+"&Site=www. border='0' SRC=http://wpa.[index+1]+":4 alt="+ t[index+1]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index+ 1]+">"+t[index+1]+"</A>");
document.write("<br>");
document.write("<a target=blank href=tencent://message/?uin="+k[index+ 2]+"&Site=www. border='0' SRC=http://wpa.[index+2]+":4 alt="+ t[index+2]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index+2]+">"+t[index+2]+"</A>");
document.write(" <br>");
document.write("<a target=blank href=tencent://message/?uin="+k[index+3]+"&Site=www. border='0' SRC=http://wpa.[index+3]+":4 alt="+ t[index+3]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index+3]+">"+t[index+3]+"</A>");
document.write("<br>");
document.write("<a target=blank href=tencent://message/?uin="+k[index+4]+"&Site=www. border='0' SRC=http://wpa.[index+4]+":4 alt="+ t[index+4]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index+4]+">"+t[index+4]+"</A>");
document.write(" <br>");
document.write("<a target=blank href=tencent://message/?uin="+k[index+5]+"&Site=www. border='0' SRC=http://wpa.[index+5]+":4 alt="+ t[index+5]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index+5]+">"+t[index+5]+"</A>");
document.write("<br>");
document.write("<a target=blank href=tencent://message/?uin="+k[index+6]+"&Site=www. border='0' SRC=http://wpa.[index+6]+":4 alt="+ t[index+6]+" >"+"</A>");
document.write(" <img src='images/messenger2.gif'>"+"<A HREF=msnim:chat?contact="+p[index+6]+">"+t[index+6]+"</A>");
document.write(" <br>");
</script>
</div>