喜悦国际村 » XML/HTML/CSS/Js » 请教怎样加多4个浮标

页: [1]
55681832005-1-28 12:33 PM
请教怎样加多4个浮标

原代码在网页上左右两边各有两个浮标,想怎左右两边各边两个,请高手赐教
文件代码
var flashbar;
flashbar=bnrurl_138[0]+" "+bnrurl_138[1]+" "+bnrurl_138[2]+" "+bnrurl_138[3]+" "+bnrurl_138[4];

if(navigator.appName!="Microsoft Internet Explorer"){alert("您好!您現在用的是"+navigator.appName+"瀏覽器,可能需要手工更新本頁比分數據。\n最好使用Microsoft Internet Explorer 5.0 以上來瀏覽!\n請多多包涵!");}
document.ns = navigator.appName == "Netscape"
function lqdellmove(){
if(!document.ns)
{lqdell.style.top=document.body.scrollTop+118;
lqdell.style.left=document.body.scrollLeft+document.body.clientWidth-102;
lqdett.style.top=document.body.scrollTop+118;
lqdett.style.left=document.body.scrollLeft+2;
lqdebb.style.top=document.body.scrollTop+document.body.clientHeight-52;
lqdebb.style.left=document.body.clientWidth/2-415+document.body.scrollLeft;

}setTimeout("lqdellmove();",20)}

if(document.ns)
{
document.write("<layer id=lqdell>"+bnrurl_60[0]+"<br><br>"+bnrurl_60[1]+"</layer>");
document.write("<layer id=lqdett>"+bnrurl_60[2]+"<br><br>"+bnrurl_60[3]+"</layer>");
document.write("<layer id=lqdebb><table border=0 width='750' align=center><tr><td align=center>"+flashbar+"</td></tr></table>");
}else{
document.write("<div id=lqdell style='position:absolute;visibility:visible;z-index:0'>"+bnrurl_60[0]+"<br><br>"+bnrurl_60[1]+"</div>");
document.write("<div id=lqdett style='position:absolute;visibility:visible;z-index:0'>"+bnrurl_60[2]+"<br><br>"+bnrurl_60[3]+"</div>");
document.write("<div id=lqdebb style='position:absolute;visibility:visible;z-index:0'><table border=0 width='750' align=center><tr><td align=center>"+flashbar+"</td></tr></table></div>");
}lqdellmove();

55681832005-1-28 12:36 PM
是想在左右两边各加多两个浮标

是想在左右两边各加多两个浮标,请高手赐教,万分感激


查看完整版本: 请教怎样加多4个浮标


Powered by Discuz! Archiver 6.1.0  © 2001-2006 Comsenz Inc.
Processed in 0.005885 second(s), 2 queries