Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    dep
    dep is offline
    Regular Coder
    Join Date
    Nov 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Having changing DIV position to match cursor

    Hello. I have a link that pops up a little div (as a popup window), but right now am hard-coding the top/left parameters to put the div on the screen. I'd like it to populate these values based upon the cursor position. Is this possible?

    Thanks,
    dep

  • #2
    dep
    dep is offline
    Regular Coder
    Join Date
    Nov 2005
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok, so maybe not cursor position, but perhaps based on the position of an element on the page? If, for instance, I wanted the popup window to appear 30px RIGHT of the link that I click on.. Possible?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •