129、鼠标放到图片宣传图片

129、鼠标放到图片宣传图片

脚本说明:

把如下代码加入<body>区域中

<SCRIPT>

document.ns = navigator.appName == "Netscape"

function lqdellload()

{

if (navigator.appName == "Netscape")

{document.lqdell.pageY=pageYOffset+window.innerHeight-200;

document.lqdell.pageX=+window.innerWidth-120;

document.lqdell2.pageY=pageYOffset+window.innerHeight-200;

document.lqdell2.pageX=+window.innerWidth-715;

lqdellmove();

}

else

{

lqdell.style.top=document.body.scrollTop+document.body.offsetHeight-200;

lqdell.style.left=document.body.offsetWidth-120;

lqdell2.style.top=document.body.scrollTop+document.body.offsetHeight-200;

lqdell2.style.left=document.body.offsetWidth-715;

lqdellmove();

}

}

function lqdellmove()

{

if(document.ns)

{

document.lqdell.top=pageYOffset+window.innerHeight-200

document.lqdell.left=+window.innerWidth-120;

document.lqdell2.top=pageYOffset+window.innerHeight-200

document.lqdell2.left=+window.innerWidth-715;

setTimeout("lqdellmove();",5)

}

else

{

lqdell.style.top=document.body.scrollTop+document.body.offsetHeight-200;

lqdell.style.left=document.body.offsetWidth-120;

lqdell2.style.top=document.body.scrollTop+document.body.offsetHeight-200;

lqdell2.style.left=document.body.offsetWidth-715;

setTimeout("lqdellmove();",5)

}

}

 

function MM_reloadPage(init) { //reloads the window if Nav4 resized

if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();

}

MM_reloadPage(true)

 

 

function lqdellover()

{

if(navigator.appName == "Netscape"){

document.lqdell2.visibility="show";

}else

{

lqdell2.style.visibility="visible";

}

}

function lqdellout()

{

if(navigator.appName == "Netscape"){

document.lqdell2.visibility="hide";

}else

{

lqdell2.style.visibility="hidden";

}

}

 

if (navigator.appName == "Netscape")

{document.write("<layer id=lqdell top=300 width=64 height=80><a href='http://www.7stk.com' onmouseover=lqdellover() onmouseout=lqdellout() border=0 target=_blank><img src=logo01.gif border=0></a></layer>"

+"<layer id=lqdell2><a href='http://www.7stk.com' onmouseover=lqdellover() onmouseout=lqdellout() border=0 target=_blank><img src=dvb.jpg border=0></a></layer>");

lqdellload()}

else

{

document.write("<div id=lqdell style='position: absolute;width:64;top:300;visibility: visible;z-index: 1'><a href='http://www.7stk.com' onmouseover=lqdellover() onmouseout=lqdellout() target=_blank><img src='logo01.gif' border='0'></a></div>"

+"<div id=lqdell2 style='position: absolute;visibility: hidden;z-index: 10'><a href='http://http://www.7stk.com' onmouseover=lqdellover() onmouseout=lqdellout() target=_blank><img src='dvb.jpg' border='0'></a></div>");

lqdellload()

}

</SCRIPT>

 

Write a comment

Comments: 0