View Full Version : these dang imagemaps


under0ath
06-19-2005, 06:22 AM
dang these things are givin me hella trouble.. ok im makin a site and when i have image maps it splits all my pictures up see for yourself here

http://www.freewebs.com/therelentlessga/ttttt.htm

i even tried puttin it all in a table

http://www.freewebs.com/therelentlessga/home.htm

SnowLeopard
06-19-2005, 07:36 AM
It's splitting them up because they're not all together. You have to place all the images together and it won't affect the map:
<IMG SRC ="images/topleft.jpg" USEMAP ="#01" border=0><img src="images/topright.jpg"><BR><IMG SRC ="images/botleft.jpg" USEMAP ="#1" border=0><img src="images/botright.jpg">
<MAP NAME="1">
<AREA SHAPE="RECT" COORDS ="155, 0, 189, 24" HREF="bio.htm" TARGET="info">
<AREA SHAPE="RECT" COORDS ="191, 35, 273, 61" href="pictures.htm target="info>
<AREA SHAPE="RECT" COORDS ="223, 67, 276, 93" HREF="guest.htm">
<AREA SHAPE="RECT" COORDS ="337, 67, 390, 93" HREF="media.htm" TARGET="info">
<AREA SHAPE="RECT" COORDS ="327, 123, 380, 149" HREF="links.htm" TARGET="info">
<AREA SHAPE="DEFAULT" NOHREF>
</MAP>
<MAP NAME="01">
<AREA SHAPE="RECT" COORDS ="131, 153, 179, 179" HREF="home.htm" TARGET="info">
<AREA SHAPE="DEFAULT" NOHREF>
</MAP>Something like that ^

pb&j
06-19-2005, 08:56 AM
you are missing some main webpage tags and have so many extra spaces. also put the map areas away from the images as suggested above too.
and you are missing a couple of quotes too.


<html>
<head>
<title> this is my title </title>
</head>
<body>

<IMG SRC="images/topleft.jpg" USEMAP="#01" border="0"><img src="images/topright.jpg" border="0"><br>
<IMG SRC="images/botleft.jpg" USEMAP="#1" border="0"><img src="images/botright.jpg" border="0">

<MAP NAME="01">
<AREA SHAPE="RECT" COORDS="131,153,179,179" HREF="home.htm" TARGET="info">
<AREA SHAPE="DEFAULT" NOHREF>
</MAP>

<MAP NAME="1">
<AREA SHAPE="RECT" COORDS="155,0,189,24" HREF="bio.htm" TARGET="info">
<AREA SHAPE="RECT" COORDS ="191,35,273,61" href="pictures.htm" target="info">
<AREA SHAPE="RECT" COORDS="223,67,276,93" HREF="guest.htm">
<AREA SHAPE="RECT" COORDS="337,67,390,93" HREF="media.htm" TARGET="info">
<AREA SHAPE="RECT" COORDS="327,123,380,149" HREF="links.htm" TARGET="info">
<AREA SHAPE="DEFAULT" NOHREF>
</MAP>

</body>
</html>

under0ath
06-19-2005, 04:37 PM
dang i never even thought about that.. thanks