<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> mouse wheel Side ads </title>
<body>
<div style= "Width:993;height:1799;text-align:center" >
</div>
<div style= "TOP:30PX;LEFT:50PX;POSITION:ABSOLUTE;Z-INDEX:5; "Id=" div >
</div>
</body>
<script type= "Text/javascript" >
Get current ID
var divobj = document.getElementById ("div");
Get the length and width
var objtop = parseint (divobj.style.top);
var objleft = parseint (divobj.style.left);
Mouse scrolling Events
function Move () {
var imgtop = Document.documentElement.scrollTop;
var imgleft = Document.documentElement.scrollLeft;
Divobj.style.top = parseint (objtop+imgtop) + "px";
Divobj.style.left = parseint (objleft+imgleft) + "px";
}
Onscroll = move;
Close Ads
function Showclose () {
document.getElementById ("div"). style.display= "None";
}
</script>
JS mouse wheel side ads (ie only available)