HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 4th, 2012, 10:44 AM
dada1 dada1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 71 dada1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 h 51 m 55 sec
Reputation Power: 6
Linking "irregular" links

Let's say I have a map of USA and I would like to link each state differently. how to cover whole state with one link, because states are represented as irregular shapes

Reply With Quote
  #2  
Old May 4th, 2012, 12:23 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,835 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 1 Day 22 h 11 m
Reputation Power: 4192
Maps (e.g. of USA or the World) are the best use-case for image maps (for most other things rectangular clickable-regions work well). Also it's probably possible to do that with canvas or Flash.

http://en.wikipedia.org/wiki/Templa...ith_state_names
http://html.cita.uiuc.edu/text/map/map-example.php
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.

Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

Remember people spend most of their time on other people's sites (so don't violate web design conventions).

Reply With Quote
  #3  
Old May 6th, 2012, 03:50 PM
BuildMyWeb BuildMyWeb is offline
buildmyweb.org
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Location: NY
Posts: 58 BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level)BuildMyWeb User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 6 h 17 m 7 sec
Reputation Power: 7
Send a message via Skype to BuildMyWeb
Facebook
image maps: http://www.htmlcodetutorial.com/images/images_famsupp_220.html

another solution would be to just create divs but if you need more precise borders, image maps

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Linking "irregular" links

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap