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 6 of 6

Thread: Coords

  1. #1
    New Coder
    Join Date
    Jan 2004
    Location
    Illinois
    Posts
    72
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Coords

    Is it possible for JavaScript to get a coordainte from an image map when a mouse hovers over it?

  • #2
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Check this out at cross-browser.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #3
    New Coder
    Join Date
    Jan 2004
    Location
    Illinois
    Posts
    72
    Thanks
    2
    Thanked 0 Times in 0 Posts
    I know how to get the X and Y coords of where hte mouse is. I want to know if I could get the coords of an image map that the mouse hovers on.

  • #4
    Regular Coder
    Join Date
    Jul 2004
    Location
    mile high city
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry. I misunderstood your question. I've never played with an image map, I wouldn't even know the html.
    Computer, kill Flanders... Did I hear my name? My ears are burning...
    Good start. Now finish the job.

  • #5
    New Coder hedbanger's Avatar
    Join Date
    Jun 2002
    Location
    vallejo, ca
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the coordinates of an image map are the same as the coordinates of the page and there's a one to one correspondence between them. 10,10 is the same whether there's an image map there or not.
    Last edited by hedbanger; 08-27-2004 at 12:36 AM.
    jf~ if you're not part of the solution, you're part of the precipitate.

  • #6
    New Coder
    Join Date
    Jan 2004
    Location
    Illinois
    Posts
    72
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Hmm.. Well I was going to need it so I can make a Navigation menu popup to the right of an image map instead of anywhere the mouse is hovered over the link.. Anyone know of a good popup navigaiton menu thats free?


  •  

    Posting Permissions

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