<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Is there a way to detect the offset of a given element on a page? The following simply returns '$this.offset()'.<br><br>&nbsp;&nbsp;&nbsp; html div<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; id: 'bob';<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; script: ((html jQuery new draggable) onDrag: (html jQuery ajax script: [:s | s add: ((html jQuery: #bob) html: (html jQuery: #bob) offset)]));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: html jQuery this offset.<br><br>Thanks!<br>RS<br><br>ps.<br><br>If it helps, the purpose of this function is to let the server know if a map is being moved in order to buffer the new tiles; essentially, a tiling script (ie. Google maps).<br>                                               <br /><hr />Hotmail® has ever-growing storage! Don’t worry about storage limits. <a href='http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009' target='_new'>Check it out.</a></body>
</html>