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 3 of 3
  1. #1
    New Coder
    Join Date
    Aug 2012
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Mouse Overs on Image Map using Frames - Urgent

    Hello

    I have an image map with some tooltip code added - wich is fine.
    Here is the link: http://mandatorymarketinginc.com/test/directory.htm
    This code works cross-browser and is in frames.

    Here is the problem, I now need to have code that when the user mouses overs a store name in the right frame (dir-right.htm) the location of that store (for example, location N) is covered with a png file I created. I have created images for each location on the map.

    Right now the code I have for each png location file is hard-coded and is not working cross-browser at all.

    Does someone know how I can write this code in JavaScript to allow me to do this?

    Thanks so much.
    Attached Thumbnails Attached Thumbnails Mouse Overs on Image Map using Frames - Urgent-sample-ie.jpg   Mouse Overs on Image Map using Frames - Urgent-sample-ff.jpg  

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,023
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    I think probably your positions are off only because of margins or some such.

    I think you only need to play with your CSS to make sure it is consistent across browsers.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,023
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    Have you considered just dumping the (considered very obsolete) <frame>s and moving to more modern <div>s?
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Posting Permissions

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