why doesn't my image map work?

Discussion in 'HTML' started by John Salerno, Feb 5, 2006.

  1. John Salerno

    John Salerno Guest

    I'm doing a test with an image map. Don't worry, it's not supposed to
    look good right now. Anyway, here's the markup, with the links:

    -----------------

    http://www.johnjsal.com/test.php

    <html lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <link type="text/css" rel="stylesheet" href="">
    <title></title>
    </head>

    <body>
    <p><?php include("navbar.html") ?></p>
    </body>
    </html>

    ------------------

    http://www.johnjsal.com/navbar.html

    <img src="navbar.png" alt="Navigation Bar" usemap="#navbar">

    <map id="navbar" name="navbar">
    <area shape="rect" coords="0,0,3,1" href="index.html" alt="Home Page">
    </map>



    The problem is that there doesn't seem to be any clickable area at all.
    I did the PHP as a test, but I also tried it normally and that still
    didn't work.
    John Salerno, Feb 5, 2006
    #1
    1. Advertising

  2. John Salerno

    Wÿrm Guest

    "John Salerno" <> kirjoitti
    viestissä:...
    > I'm doing a test with an image map. Don't worry, it's not supposed to look
    > good right now. Anyway, here's the markup, with the links:


    <snip>

    > http://www.johnjsal.com/navbar.html


    <snip>

    > The problem is that there doesn't seem to be any clickable area at all. I
    > did the PHP as a test, but I also tried it normally and that still didn't
    > work.


    It works, try TAB key in that page, your problem lies in coords="0,0,3,1"
    where you specify horrible SMALL rect area...
    Wÿrm, Feb 5, 2006
    #2
    1. Advertising

  3. John Salerno

    John Salerno Guest

    Wÿrm wrote:
    > "John Salerno" <> kirjoitti
    > viestissä:...
    >> I'm doing a test with an image map. Don't worry, it's not supposed to look
    >> good right now. Anyway, here's the markup, with the links:

    >
    > <snip>
    >
    >> http://www.johnjsal.com/navbar.html

    >
    > <snip>
    >
    >> The problem is that there doesn't seem to be any clickable area at all. I
    >> did the PHP as a test, but I also tried it normally and that still didn't
    >> work.

    >
    > It works, try TAB key in that page, your problem lies in coords="0,0,3,1"
    > where you specify horrible SMALL rect area...
    >
    >


    LOL. My god I'm an idiot. I think the reason I did that was because I
    had the image zoomed up real close in Photoshop, so it somehow made me
    feel like it was a huge area! :)
    John Salerno, Feb 5, 2006
    #3
  4. John Salerno

    John Salerno Guest

    Wÿrm wrote:
    > "John Salerno" <> kirjoitti
    > viestissä:...
    >> I'm doing a test with an image map. Don't worry, it's not supposed to look
    >> good right now. Anyway, here's the markup, with the links:

    >
    > <snip>
    >
    >> http://www.johnjsal.com/navbar.html

    >
    > <snip>
    >
    >> The problem is that there doesn't seem to be any clickable area at all. I
    >> did the PHP as a test, but I also tried it normally and that still didn't
    >> work.

    >
    > It works, try TAB key in that page, your problem lies in coords="0,0,3,1"
    > where you specify horrible SMALL rect area...
    >
    >


    LOL. My god I'm an idiot! I had the coordinates window set on inches
    instead of pixels!
    John Salerno, Feb 5, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Prowak

    Why oh why doesn't my data view work?

    David Prowak, Jan 30, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    731
    Alvin Bruney [MVP]
    Jan 30, 2004
  2. dakota7
    Replies:
    4
    Views:
    606
    David Graham
    Oct 27, 2003
  3. Mr. SweatyFinger

    why why why why why

    Mr. SweatyFinger, Nov 28, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    880
    Mark Rae
    Dec 21, 2006
  4. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,849
    Smokey Grindel
    Dec 2, 2006
  5. Sara
    Replies:
    6
    Views:
    255
    John W. Krahn
    Apr 12, 2004
Loading...

Share This Page