;

PDA

Click to See Complete Forum and Search --> : Image maps and iframes... need help


Rei Ayanami
06-17-2003, 08:14 AM
Okie dokie. I got a problem here. ;)
Here's the problem:
(This is all in HTML)

1. I've got this image.
2. I made it into an image map.
3. I want parts of the image map to control an iframe.
4. The iframe is in a cell of a table.
5. I want each image map area to direct the iframe to goto another html document. (example: src="winternews.htm" if you click on the second area shape)

What should I do?
I'm totally confused! :(

Image map code:
<map name="Map">
<area shape="rect" coords="0,0,77,50" href="#">
<area shape="rect" coords="77,0,148,50" href="#">
<area shape="rect" coords="148,0,217,50" href="#">
<area shape="rect" coords="217,0,287,50" href="#">
<area shape="rect" coords="287,0,360,50" href="#">
</map>

Iframe code:
<iframe id="inset", frameborder="0" width="420", height="420" src="summernews.htm"></iframe>

Hehe... if you guys could help, that would be soooooooooo great!


Thanks soooo much! :D


P.S. I'm a total newbie, so don't expect me to understand
some stuff without actual directions. Sorry! :p

Veniogenesis
06-17-2003, 01:17 PM
<map name="Map">
<area shape="rect" coords="0,0,77,50" href="#">
<area shape="rect" coords="77,0,148,50" href="winternews.htm" target="inset">
<area shape="rect" coords="148,0,217,50" href="#">
<area shape="rect" coords="217,0,287,50" href="#">
<area shape="rect" coords="287,0,360,50" href="#">
</map>

Something like that. :)
Regards,
Venio