Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
problems with image mapping
Old 03-22-2006, 05:02 AM problems with image mapping
Junior Talker

Posts: 4
Trades: 0
I am not sure exactly where the bug is, i am trying to do a page with image mapping and i keep encountering problems. So i was wondering if some of you pros could give me the right way to do the following...

make a blank gif
add image over gif to be map into links (basically image mapping)

(example: say i have three different basketball images on a page over a blank gif but i need each basketball to go to a different link)

Talk to me as if i am a child. I have the code and everything but something isn't working in my process, it could be i am doing something wrong with the gifs or maybe i just have the code wrong i don't know. I have photoshop and gimp which i can use to make the gifs and for mapping i have a web hotspots imagemapper if need be.
leebert is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-22-2006, 10:00 AM Re: problems with image mapping
WebcyteDesign's Avatar
Registered User

Posts: 159
Location: Hamilton
Trades: 0
First why the blank gif. Second I find using a program the best way to do image maps. Take less time. Get an image mapper here http://www.tucows.com/preview/194560

If you still need help we'll need to see the code to see where you're going wrong.
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
Old 03-22-2006, 12:28 PM Re: problems with image mapping
Extreme Talker

Posts: 170
Location: Canada
Trades: 0
If you have seperate images of these basketball links, you can just link them individually. If you have a larger images (say a map of some kind) and you need to link to locations from that image (like various cities on that map) you can code it like this:

Code:
<img src="http://www.webmaster-talk.com/images/canada_map.gif" usemap="#Map" style="width: 400px; height: 281px; border: 0;" alt="Map of Canada" title="Map of Canada" />

<map name="Map" id="Map">
  <area shape="rect" coords="58,151,112,173" href="#" alt="Edmonton" title="Edmonton" />
  <area shape="rect" coords="58,172,112,194" href="#" alt="Calgary" title="Calgary" />
  <area shape="rect" coords="134,186,188,208" href="#" alt="Winnipeg" title="Winnipeg" />
</map>
The above is coded in XHTML 1.0 Strict.
__________________

Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE

Last edited by collyer_1; 03-22-2006 at 12:29 PM..
collyer_1 is offline
Reply With Quote
View Public Profile Visit collyer_1's homepage!
 
Old 03-22-2006, 01:51 PM Re: problems with image mapping
trendybox's Avatar
Experienced Talker

Posts: 42
Trades: 0
if you're doing this for basket balls, it might make more sense to do it using a "circle" instead of a "rectangle"
Code:
<map name="Map" id="Map">
  <area shape="circle" coords="170,223, 27" href="basketball1.htm" alt="Basket Ball 1" title="Basket Ball 1" />
But as collyer_1 said, you most likely don't need an image map at all. just put your image in between <a></a> tags.
__________________
-[Trendy Box]-

Please login or register to view this content. Registration is FREE


Last edited by trendybox; 03-22-2006 at 01:53 PM..
trendybox is offline
Reply With Quote
View Public Profile Visit trendybox's homepage!
 
Old 03-22-2006, 02:12 PM Re: problems with image mapping
Junior Talker

Posts: 4
Trades: 0
Thank you guys. Yes that is the exact code i am using. I tried it again using a found gif and it works so apparently there is something wrong with the gifs i am making as that code just work on a gif i found on the net that wasn't my own.

I find this odd that you can make a gif. wrong, i figured that would have been the simplist part, but guess now i have to go sniffing in image forums
leebert is offline
Reply With Quote
View Public Profile
 
Old 03-22-2006, 06:34 PM Re: problems with image mapping
Junior Talker

Posts: 4
Trades: 0
Just to update, it was indeed a corrupt gif. file and everything is working properly. So if anyone else is going through this CHECK THOSE GIFS!
leebert is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to problems with image mapping
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24256 seconds with 12 queries