Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Imagemap not mapping?

    Alright, I am locally developing a webpage and I wanted to use an image map (That's not bad or outdated yet right?). So I put it together, and it works in FF but not IE ... go figure. I did search google and didn't come up with why it didn't work but I did find plenty of tutorials ... Any who, Here is my code
    Code:
    	<div id="tnav"><!-- Top Navigation bar -->
    	
    		<img class="nav" src="images/yqbubble.jpg" alt="YaymeQ's Flower Icon">
    		<img class="nav" src="images/thepastnav.png" alt="site navigation" usemap="navigation">
    	<map name="navigation">
    		<area shape="rect" coords="0,0,55,59" href="index.html" alt="Home">
    		<area shape="rect" coords="0,55,138,59" href="construtction.html" alt="All the stuff I've written">
    		<area shape="rect" coords="0,138,233,59" href="construtction.html" alt="Shout outs to people I know">
    		<area shape="rect" coords="0,233,335,59" href="construtction.html" alt="What's going on lately">
    		<area shape="rect" coords="0,335,425,59" href="construtction.html" alt="Leave your comment">
    		<area shape="rect" coords="0,425,505,59" href="construtction.html" alt="The world through my eyes">
    		<area shape="rect" coords="0,505,560,59" href="construtction.html" alt="Other places you might find me">
    		<area shape="rect" coords="60,0,560,119" href="construtction.html" alt="You are here">
    	</map>
    	</div>
    Thank you so much, wonderful cf people. It's pretty basic code (I think) so I really can't see where my trouble lies ... would it be better to use multiple images for this? It's not a huge image or anything ... I could probably even do it without an image ... I didn't like how that looked though...
    Where is the "any" key??!

  • #2
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    Code:
    <img class="nav" src="images/thepastnav.png" alt="site navigation" usemap="#navigation">
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • Users who have thanked rangana for this post:

    YaymeQ (05-21-2008)

  • #3
    Regular Coder YaymeQ's Avatar
    Join Date
    Feb 2008
    Location
    virginia
    Posts
    140
    Thanks
    14
    Thanked 0 Times in 0 Posts
    Hey thanks, I knew it had to be simple.
    Where is the "any" key??!


  •  

    Posting Permissions

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