Forum Moderators: open

Message Too Old, No Replies

NN, XHTML, Img Maps

doesn't like what I've created

         

lorax

5:26 pm on Nov 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hola,
I've got an image map divided into 5 rectangles which lead to different sections of a website. The page validates for XHTML 1.0 Trans and works fine in IE5 and Op6. NN6.2, however, chokes. I get the hand when I mouse over the area but nothing happens when I click.

The map line: <map id="blah" name="blah">
Area line (typ): <area shape="rect" coords="0,0,154,15" href="blah.html" alt="3 word blah" />
Img line: <img src="../img/nav.gif" width="748" height="16" usemap="#blah" alt="" />

Whassup with it?

lorax

6:30 pm on Nov 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Anyone?

BlobFisk

6:49 pm on Nov 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey Lorax,

Been playing with this and I can't see anything wrong... The only thing that could possibly be confusing NS is the id tag? Could you post the CSS of this id?

lorax

6:54 pm on Nov 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Blobfisk,
The id was necessary for validation - there is no CSS associated with it.

Ah hah! Just figured it out - the name has to go before the id in the <map> tag or else NN gets confused.

BlobFisk

7:01 pm on Nov 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Huh - didn't know that, thanks!

lorax

7:30 pm on Nov 7, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



No, thank you 'cause if you hadn't mentioned the id I wouldn't have looked at it again! :)