I am using JS code on an ASP page that tells the client exactly where the cursor currently is (document.body.scrollLeft+event.x and document.body.scrollTop+event.y) so that a popup menu can be launched at this point when the user clicks. Using this code the popup menu is perfectly placed in IE5, but when using IE6 both document.body.scrollLeft and document.body.scrollTop are not working properly and return no value so that when a user scrolls down the page and attempts to open the popup menu it is placed too far up the page (same thing when the user scrolls right, it is placed too far to the left). Is there new code for this or am I overlooking something?
Any ideas/help/suggestions would be greatly appreciated.
Thanks!
Any ideas/help/suggestions would be greatly appreciated.
Thanks!