Message Thread: |
View All MessagesBack to WebFX |
Umm...Nevermind. I realized that I need to add offsetX/Y to window.screenLeft/Top to get the actual cursor location. From: Mike Sent: May 11, 2004 Subject: Re:IE popup object Hi, I am trying to create a custom context menu for an IE-only intranet application. I am using the popup object (window.createPopup). The problem I'm having is that it doesn't open relative to my cursor position. My show popup function looks like this: function showPopup(){ I can adjust it so that the menu opens where I want,but if I move the browser window the locations get all screwed up. In the microsoft examples, they set the parent or 5th parameter to a div or a form field.I am using window.location, but that's not working. Any advice is appreciated.
Thanks |