Trouble with image map
<img border="0" src="../testi/s2_04.gif" width="446" height="114" usemap="#defmap">
<map name="defmap">
<area href="main_photogallery.php?s=$session[sessionhash]" shape="rect" coords="6, 98, 53, 84">
<area href="usercp.php?s=$session[sessionhash]" shape="rect" coords="64, 98, 116, 84">
<area href="index.php?s=$session[sessionhash]" shape="rect" coords="129, 98, 168, 84">
<area href="register.php?s=$session[sessionhash]&action=signup" shape="rect" coords="182, 98, 245, 84">
<area href="memberlist.php?s=$session[sessionhash]" shape="rect" coords="259, 98, 328, 84">
<area href="misc.php?s=$session[sesfsionhash]&action=faq" shape="rect" coords="342, 98, 374, 84">
<area href="search.php?s=$session[sessionhash]" shape="rect" coords="385, 98, 439, 84">
</map>
That's the code I'm using, but it won't work under Netscape 6. What am I doing wrong?
disaster-master posted this at 17:41 — 5th March 2002.
She has: 2,154 posts
Joined: May 2001
Not sure if this will fix it but try moving the shape="rect" coords="6, 98, 53, 84" before your href
qwaz posted this at 17:53 — 5th March 2002.
They have: 29 posts
Joined: Oct 2001
Darn.
That doesn't seem to work either. And I can't find anything, anywhere saying there are problems in Netscape with image maps.
Wil posted this at 18:51 — 5th March 2002.
They have: 601 posts
Joined: Nov 2001
Hm. Can you give us a URL to see if I can replicate the problem?
I've got IE, Mozilla and NS6 loaded up here on a Win98 box.
qwaz posted this at 19:45 — 5th March 2002.
They have: 29 posts
Joined: Oct 2001
http://www.racing-forums.com/bbs
Busy posted this at 21:22 — 5th March 2002.
He has: 6,151 posts
Joined: May 2001
try add a default area to your image map - the area between the links
you could always do what your doing with text & CSS or images and CSS or without css and plain HTML
qwaz posted this at 23:23 — 5th March 2002.
They have: 29 posts
Joined: Oct 2001
I'm not sure what you're referring to.
Could you show me an example in HTML?
disaster-master posted this at 00:09 — 6th March 2002.
She has: 2,154 posts
Joined: May 2001
Ahhhh Haaaa!
add name="s2_040" to your image tag
You have this:
Change it to this:
*my fingers are crossed*
I think you will have to change what goes in the name="??????" part but that seems to be what is missing.
disaster-master posted this at 01:13 — 6th March 2002.
She has: 2,154 posts
Joined: May 2001
Alrighty, after looking at this some more, change it to this:
If this don't work...then I don't know. The image map that you have wasn't working in Opera either. I redid the image map using your image and uploaded it. It works in opera when you add the name="defmap" so I'll assume that it will work in NS now too.
qwaz posted this at 03:35 — 6th March 2002.
They have: 29 posts
Joined: Oct 2001
That isn't working either.
disaster-master posted this at 04:01 — 6th March 2002.
She has: 2,154 posts
Joined: May 2001
You changed it to the wrong one. Did you try this one?
disaster-master posted this at 04:24 — 6th March 2002.
She has: 2,154 posts
Joined: May 2001
Hey gwaz! Go here and see if this one works in netscape.
Suzanne posted this at 04:28 — 6th March 2002.
She has: 5,507 posts
Joined: Feb 2000
I used the same image, recreated the map. Obviously the urls are off, but I did the first one to check that it wasn't the url that was throwing the map off.
As far as I can tell, you are missing the alt="" attribute, and you're coords are off, but I can't otherwise tell why it's not working.
qwaz posted this at 14:24 — 7th March 2002.
They have: 29 posts
Joined: Oct 2001
Suzanne, that worked perfectly.
Thank you.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.