SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Wizard Darren884's Avatar
    Join Date
    Aug 2003
    Location
    Southern California, United States
    Posts
    1,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image Maps Not Working In FireFox.

    My image map code here:
    HTML Code:
    <map id="nav"><area shape="rect" coords="370,4,411,15" href="/index.html" alt="Home" /><area shape="rect" coords="434,4,492,15" href="/posters.html" alt="Posters" /><area shape="rect" coords="515,4,562,16" href="/order.html" alt="Order" /><area shape="rect" coords="585,4,674,15" href="/contact.html" alt="Contact" /></map>
    Which validates as XHTML will not work in firefox. The image will only show a the mouse over it and show that its clickable, anywhere on the image, but will never go to the intended destination and wont go at all. What could be wrong? Do image maps just not simply work in firefox?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,449
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    I don't know about your specific case but image maps do work in FF. It's probably an obscure coding issue. I'm sure someone who codes more regularly then I will point it out for you.

  3. #3
    CSS & JS/DOM Adept bronze trophy
    Join Date
    Mar 2005
    Location
    USA
    Posts
    5,482
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try adding the name.

    Code:
    <map id="nav" name="nav">
    If that doesn't fix it, please post the code for the image element.
    We miss you, Dan Schulz.
    Learn CSS. | X/HTML Validator | CSS validator
    Dynamic Site Solutions
    Code for Firefox, Chrome, Safari, & Opera, then add fixes for IE, not vice versa.

  4. #4
    SitePoint Wizard Darren884's Avatar
    Join Date
    Aug 2003
    Location
    Southern California, United States
    Posts
    1,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks it worked


Bookmarks

Posting Permissions

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