www.webdeveloper.com
Results 1 to 3 of 3

Thread: mistake in image map

  1. #1
    Join Date
    Feb 2011
    Posts
    90

    mistake in image map

    I am using the following code to create an image map:
    Code:
    <!doctype html>
    <html>
    <head>
    </head>
    <body>
    <div id="imgconatianer">
    		<img src="mas-01.png" height="600" width="1000" alt="diur-plus" usemap="#green"/>
    		<map  name="green">
    			<area shape="rect" cords="15,5,322,110" href="//diur-plus.co.il" alt="diur-plus" title="diur-plus"/>
    		</map>
    	</div>
    </body>
    </html>
    but the image map does't work for me.



    Where am I wrong?

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    What part doesn't work? There is no link? or the link doesn't work?
    Looks like the href has problems..
    Code:
    href="//diur-plus.co.il"
    ... not sure what you are trying to link to. Did you mean:
    Code:
    href="http://www.diur-plus.co.il"
    Best wishes,
    Eye for Video

  3. #3
    Join Date
    Feb 2011
    Posts
    90
    my mistake was the using of cords instead of coords

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles