Side navigation
Ticket #4484: imageMapTest.html
File imageMapTest.html, 0.8 KB (added by Ivoire, April 14, 2009 08:37AM UTC)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script type="text/javascript" src="js\jquery\jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var html = "<area id='map01' shape='rect' coords='50,50,150,150' href='http://www.koblenz.de/' alt='Koblenz' title='Koblenz'>";
$("#map").html(html);
//document.getElementById("map").innerHTML = html;
});
</script>
</head>
<body>
<img src="pics/world/world.jpg" width="512" height="384" border="0" alt="Karte" usemap="#Landkarte">
<map id="map" name="Landkarte">
</map>
</body>
</html>
Download in other formats:
Original Format
File imageMapTest.html, 0.8 KB (added by Ivoire, April 14, 2009 08:37AM UTC)
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<script type="text/javascript" src="js\jquery\jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){
var html = "<area id='map01' shape='rect' coords='50,50,150,150' href='http://www.koblenz.de/' alt='Koblenz' title='Koblenz'>";
$("#map").html(html);
//document.getElementById("map").innerHTML = html;
});
</script>
</head>
<body>
<img src="pics/world/world.jpg" width="512" height="384" border="0" alt="Karte" usemap="#Landkarte">
<map id="map" name="Landkarte">
</map>
</body>
</html>