Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-23-2013, 08:59 PM   PM User | #1
katmac
New Coder

 
Join Date: Aug 2012
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
katmac is an unknown quantity at this point
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
Click image for larger version

Name:	sample-ie.jpg
Views:	29
Size:	24.6 KB
ID:	11888   Click image for larger version

Name:	sample-ff.jpg
Views:	12
Size:	47.4 KB
ID:	11889  
katmac is offline   Reply With Quote
Old 01-23-2013, 10:52 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Old 01-23-2013, 10:53 PM   PM User | #3
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,168
Thanks: 59
Thanked 3,993 Times in 3,962 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
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.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:16 PM.


Advertisement
Log in to turn off these ads.