<html><div style='background-color:'><DIV class=RTE>Hi All,</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>I am wanting to know the X and Y co-ordinates of an object on a page. It needs to be Firefox, Netscape and IE compatible.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>I have a &lt;div&gt; tag, with an id="basket".</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>I am trying to run a function to tell me where on the page it is. My function is:</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>function getbasket() {</DIV>
<DIV class=RTE>&nbsp;var x=document.getElementById("basket").x;<BR>&nbsp;var y=document.getElementById("basket").y;<BR>&nbsp;alert("x: "+ x +" y: "+ y +"");</DIV>
<DIV class=RTE>}</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>But this brings back "undefined" for both X and Y.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Any help would be appreciated.</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Many Thanks,</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>Alan...</DIV></div><br clear=all><hr>Rate your skiving credentials with our <a href="http://g.msn.com/8HMBENUK/2743??PS=47575" target="_top">Slack-o-meter</a> </html>