DIV problems 
Author Message
 DIV problems

I am trying to figure out a way to move a DIV in the brower but don't know
how to go about doing it. Can anyone give me a hand?

Thanks a million,
Eddy



Sat, 09 Nov 2002 03:00:00 GMT  
 DIV problems
Hi

IE only

<html>
<head>
<script type="text/JavaScript">
function mover(){
MyDiv.style.posLeft = event.clientX;
MyDiv.style.posTop = event.clientY;

Quote:
}

</script>
</head>
<body onmousemove="mover()">
<div ID="MyDiv" style="position:absolute;">yeaaa</div>
</body>
</html>

--
Best Regards
 Vidar Petursson Microsoft MVP
==========================
http://www.icysoft.com
http://www.dna.is



==========================
No matter where you go there you are
-

Quote:
> I am trying to figure out a way to move a DIV in the brower but don't know
> how to go about doing it. Can anyone give me a hand?

> Thanks a million,
> Eddy



Sat, 09 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. minimize div problem

2. minimize div problem

3. minimize div problem

4. minimize DIV problem

5. div: problem with innerHTML after beeing submitted with a form

6. Netscape 6 problem when trying to make visible/hidden complex DIV objects

7. animating a DIV block problem

8. DIV visibility problem

9. problem with div

10. Problem with Navigator and DIV object

11. Problem with DIV and scrolling in MSIE 4.0

12. Problem with Checkboxes in a DIV

 

 
Powered by phpBB® Forum Software