Log in

View Full Version : What's up with this?



SmileUK
24-10-2008, 08:56 PM
I've been trying to use ean imagemap but it isn't working in firefox, works fine in IE but not in FF.
Anyone know why?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- Copyright © OurBitty/lolm.us unless otherwise stated. -->
<title>OurBitty ~ Home</title>
<style type="text/css">
a* { cursor: pointer; outline: none; }
</style>
</head>

<body>

<div>
<map name="links" id="links">
<area shape="lion" coords="17,29,52,71" href="test.html" alt="BittyBay Secrets" />
<area shape="sign" coords="449,14,541,66" href="#" alt="News" />
<area shape="paper" coords="448,106,465,134" href="#" alt="Guides" />
<area shape="rock" coords="197,186,242,221" href="#" alt="Furniture" />
<area shape="wood" coords="355,253,450,317" href="#" alt="Image Dump" />
<area shape="elephant" coords="513,247,563,301" href="#" alt="Meet The Owner" />
<area shape="dolphin" coords="57,327,156,394" href="#" alt="BittyBay Staff" />
<area shape="penguin" coords="422,439,472,494" href="#" alt="Public Room Dump" />
</map>
</div>

<center>
<img src="images/homepage.png" width="750" height="502" usemap="#links" border="0" />
</center>

</body>
</html>

Jxhn
25-10-2008, 02:21 PM
I've been trying to use ean imagemap but it isn't working in firefox, works fine in IE but not in FF.
Anyone know why?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- Copyright © OurBitty/lolm.us unless otherwise stated. -->
<title>OurBitty ~ Home</title>
<style type="text/css">
a* { cursor: pointer; outline: none; }
</style>
</head>

<body>

<div>
<map name="links" id="links">
<area shape="lion" coords="17,29,52,71" href="test.html" alt="BittyBay Secrets" />
<area shape="sign" coords="449,14,541,66" href="#" alt="News" />
<area shape="paper" coords="448,106,465,134" href="#" alt="Guides" />
<area shape="rock" coords="197,186,242,221" href="#" alt="Furniture" />
<area shape="wood" coords="355,253,450,317" href="#" alt="Image Dump" />
<area shape="elephant" coords="513,247,563,301" href="#" alt="Meet The Owner" />
<area shape="dolphin" coords="57,327,156,394" href="#" alt="BittyBay Staff" />
<area shape="penguin" coords="422,439,472,494" href="#" alt="Public Room Dump" />
</map>
</div>

<center>
<img src="images/homepage.png" width="750" height="502" usemap="#links" border="0" />
</center>

</body>
</html>

You can't make up the shape names, they have to be either 'default', 'rect', 'circle' or 'poly'.

More information: http://www.w3schools.com/tags/att_area_shape.asp

L?KE
25-10-2008, 03:43 PM
Lol was gona say, 'lion' :S

SmileUK
25-10-2008, 08:25 PM
You can't make up the shape names, they have to be either 'default', 'rect', 'circle' or 'poly'.

More information: http://www.w3schools.com/tags/att_area_shape.asp
yeah realised that lol.

Lol was gona say, 'lion' :S
I didn't think it was important so I used it to know the bits :P

Silly me.

ta

Want to hide these adverts? Register an account for free!