I copied the following code into the current html webpage, but the div does not move. What's going on? Please give me your guidance:
obj.onmouseover=function(){clearInterval(itl)}
obj.onmouseout=function(){itl=setInterval("floatwww_qpsh_com()", delay)}
Want to bind an event?
JavaScript is case-sensitive.
Onmouseover and onmouseout are There are capital letters.
obj.style.left = x document.body.scrollLeft "px"
obj.style.top = y document.body.scrollTop "px"
This I just control the mouse to hover, but why does it not move at all?
Scroll~~ Does your page have no height? What browser?
obj.style.left = x document.body.scrollLeft "px"
obj.style.top = y document.body.scrollTop "px"
That’s it, thank you, I’ll give it to you
You can move it after adding the pixels
Scroll~~ Does your page have no height? What browser?
That’s it, originally no px was added. . . Thank you for your reply