Hi paogiver,
May be I should have said "show all the area outlines when the whole image map if first loaded"
Usually when an image map is loaded you can only know the hotspots location when hovering. I want to have a full glimpse of all the areas on the map, to choose acordingly.
I prefer not to use flash, thou the idea on coraldondoms is very appealing, showing a blinking spot where the selectable are is. Mouse over on the hotspots/swaping images wouldn't be of much help, because I don't want to explore the whole image searching for the areas.
Area positions will be coded dinamically from database.
What I've found easy and appropiate so far is this example tutorial:
http://www.kryogenix.org/c
and some modifications posted at:
http://www.frankmanno.com/
They would serve my purpose, and I've managed to replicate the effect, but seem to work only on square areas. I will increase the points, in case anyone knows how to modify the code so circle and poly areas are also covered.
So far the draft code is:
<html>
<head>
<script type="text/javascript" src="annimg.js"></script>
<link rel="stylesheet" href="annimg.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="EXPIRES" content="0">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-control"
<title>Documento sin título</title>
</head>
<body>
<br><br><br>
<img src="../pics/mapa.jpg" width="1280" height="867" border="0" usemap="#Map" class="annotated">
<map name="Map">
<area shape="rect" coords="52,51,72,77" href="#" title="one" nohref="nohref">
<area shape="rect" coords="85,109,89,114" href="#" title="two" nohref="nohref">
<area shape="rect" coords="241,95,435,210" href="#" title="three" nohref="nohref">
<area shape="circle" coords="284,50,30" href="#" title="four" nohref="nohref">
</map>
</body>
</html>
Thanks. Paul.
Main Topics
Browse All Topics





by: paogiverPosted on 2008-07-24 at 13:51:35ID: 22083408
Hi bluesky134,
earch?hl=e n&q=create +flash+but tons& meta=
m/ (under the get it section)
-my solution-
Using HTML to create Roll over and need to cut slice by slice in photoshop for 2 type of images, normal and highlighted.
-the image on the first load and...
-the image when mouse over
If you want something more advance, can use flash to do it very easily, the tutorials are here.
http://www.google.com.my/s
Check this sample out made by flash.
http://www.coralcondoms.co