jtwiii
06-05-2003, 08:56 PM
Hi, I have to migrate a menu function cuurently working fine in NS 4.x to IE. What I am looking for is how to determine the x,y coordinate of an HTML anchor, I've combed JScript reverences to no avail. I use the following for NS:
document.mylayer.visibility = "visible"
// anchorName is is filled by backend
// script builder...
xname = "document.anchors."+anchorName+".x"
yname = "document.anchors."+anchorName+".y"
eval("x = " + xname)
eval("y = " + yname)
document.mylayer.moveTo(x+20, y-7)
I'd appreciate any info on how to accomplish the same for IE...
Thanks in advance and best regards,
Jim W.
document.mylayer.visibility = "visible"
// anchorName is is filled by backend
// script builder...
xname = "document.anchors."+anchorName+".x"
yname = "document.anchors."+anchorName+".y"
eval("x = " + xname)
eval("y = " + yname)
document.mylayer.moveTo(x+20, y-7)
I'd appreciate any info on how to accomplish the same for IE...
Thanks in advance and best regards,
Jim W.