• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Popup Window Position

 
Steve Dyke
Ranch Hand
Posts: 1643
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to have a window open at the cursor position. The following will work but does not place the window on the point I click. Also this will not work if the function is called from a hyperlink tag(javascript:"cursortest()")

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you using moveTo? There is top/left

https://developer.mozilla.org/En/DOM/Window.open

Also your code is not cross browser friendly. window.event is IE only.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic