View Full Version : image maps


LOTRchick
04-20-2003, 01:24 AM
Here is the picture: http://www.picturevillage.com/photo/showpic.php?aid=5058&pid=71597&uuid=foreverprincess
Can someone help me with what to insert in the 'href', 'target' and 'alt'



<a href="#"><img src="linkage.jpg" alt="linkage.jpg" usemap="#linkage.jpg" style="border: 0;" /></a>

<map name="linkage.jpg">
<area shape="rect" coords="2,2,36,22" href="" target="" alt="" />
<area shape="rect" coords="50,2,95,22" href="" target="" alt="" />
<area shape="rect" coords="111,3,150,22" href="" target="" alt="" />
<area shape="rect" coords="164,2,219,23" href="" target="" alt="" />
<area shape="rect" coords="235,1,276,20" href="" target="" alt="" />
<area shape="rect" coords="289,2,324,20" href="" target="" alt="" />
<area shape="rect" coords="335,3,385,20" href="" target="" alt="" />
<area shape="rect" coords="401,2,429,21" href="" target="" alt="" />
<area shape="rect" coords="443,0,468,20" href="" target="" alt="" />

</map>

Either that or make a code for me?

Please? I'll be ever so grateful.

Dude128
04-20-2003, 02:17 AM
the href part is the same as the normal link you're used to <a href=...> - just put the URL of the page you're linking to. same goes for target- if you're targeting a frame or iframe, put its name in the target attribute. alt is the alt description, same as any other image.

Shaneo
04-20-2003, 04:30 AM
href
target
alt

I've shown you where, now all you have to do is customize to suit your page..

<a href="http://www.youraddress.com" target="your_target"><img src="linkage.jpg" alt="Click To Visit.." usemap="#linkage.jpg" style="border: 0;" /></a>

<map name="linkage.jpg">
<area shape="rect" coords="2,2,36,22" href="" target="" alt="" />
<area shape="rect" coords="50,2,95,22" href="" target="" alt="" />
<area shape="rect" coords="111,3,150,22" href="" target="" alt="" />
<area shape="rect" coords="164,2,219,23" href="" target="" alt="" />
<area shape="rect" coords="235,1,276,20" href="" target="" alt="" />
<area shape="rect" coords="289,2,324,20" href="" target="" alt="" />
<area shape="rect" coords="335,3,385,20" href="" target="" alt="" />
<area shape="rect" coords="401,2,429,21" href="" target="" alt="" />
<area shape="rect" coords="443,0,468,20" href="" target="" alt="" />

</map>

LOTRchick
04-20-2003, 04:42 AM
thanks, and the code on the other post is exactly right

Shaneo
04-20-2003, 04:49 AM
No Prob.. Glad your all sorted now :)

LOTRchick
04-20-2003, 04:57 AM
ohh, i have a question for you, this doesn't have anything to do with tables, i don't think at least, but on this site: http://angelic.illizm.net/12.htm, where all the text is, under the links, is that an i frame, or a box or what? and can i maybe have a code for it, the backround white, border black and text black. if not, thanks anyway.

Shaneo
04-20-2003, 05:01 AM
I clicked that link and got a 404 - Page Not Found Error.. You sure u linked it correctly?

LOTRchick
04-20-2003, 05:05 AM
http://angelic.illizm.net/12.htm


try that

Shaneo
04-20-2003, 05:47 AM
<textarea style="width:88;height:31;font-family:verdana;font-size:11px;color:black;border-width:1px;border-color:black;background:white">The HTML you want to display within the box goes here</textarea>

Customize only the numbers and colors or may mess up the HTML.. And no it was not a table or an IFrame.. It's a textarea.

LOTRchick
04-20-2003, 05:48 AM
thanks so much!

Shaneo
04-20-2003, 05:53 AM
Happy 2 Help.. I forgot to add you can custmoize the font aswell but i'm sure you already knew that :)