Why does this one link keep opening in a new window?

Discussion in 'HTML & Website Design' started by Captain_Ambiguous, Nov 18, 2009.

  1. #1
    HTML was never my best subject so I don't know why this is happening. I used Dreamweaver CS4 to create hotspots on a navigation image for my new page wrongstars.com. The email link works properly, and the "Links" link opens the Links page properly. But the Home link keeps opening the index in a new window. I don't get it, here's the code generated:
    <img height="200" hspace="0" src="images/menu3.gif" width="205" usemap="#Map"
    border=0> <map id="Map" name="Map"><area shape="RECT" target="Home" alt=""
    coords=67,3,132,23 href="index.html"><area shape="RECT" alt="Contact"
    coords=3,64,29,135 href="mailto:comments@wrongstars.com"><area shape="RECT"
    alt=Links coords=76,176,129,197 href="links.html"></map>

    Anyone know what I'm missing?
     
    Captain_Ambiguous, Nov 18, 2009 IP
  2. phpNoob

    phpNoob Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I know that in a <a> if you have "target=_blank" it opens a new window for you. You might want to try to remove this target="Home" in the "<area shape>". Let us know how it goes!
     
    phpNoob, Nov 18, 2009 IP
  3. pwslinks

    pwslinks Member

    Messages:
    104
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #3
    Yes, it's probably your target page. Check it twice.
     
    pwslinks, Nov 18, 2009 IP
  4. Captain_Ambiguous

    Captain_Ambiguous Active Member

    Messages:
    66
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    95
    #4
    You were right, now it's working. Thanks guys :)
     
    Captain_Ambiguous, Nov 18, 2009 IP