Nee, wacht zet wel ff de source hierzo neer:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!-- hide from JavaScript-challenged browsers
function openWindow1(url) {
popupWin = window.open(url,'new_page','width = 444, heigth = 398')
}
function openWindow2(url) {
popupWin = window.open(url,'new_page','width = 407, heigth = 399')
}
function openWindow3(url) {
popupWin = window.open(url,'new_page','width = 422, heigth = 282')
}
function openWindow4(url) {
popupWin = window.open(url,'new_page','width = 366, heigth = 366')
}
// done hiding -->
</script>
</head>
<body bgcolor="#FFFFFF">
[img]"plaatje.jpg"[/img]
<map name="sub">
<area shape="circle" coords="128,216 35" href="JavaScript:openWindow1('sub1.html')">
<area shape="poly" coords="146,176 169,196 222,129 205,113" href="JavaScript:openWindow2('sub2.html')">
<area shape="poly" coords="178,71 190,90 117,133 103,111" href="JavaScript:openWindow3('sub3.html')">
<area shape="poly" coords="117,133 103,111 38,176 66,190" href="JavaScript:openWindow4('sub4.html')"></map>
</body>
</html>
Die submappen, komen dan dus als pop-up:
<HTML>
<HEAD>
<TITLE>Subkaart 2</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<CENTER>
[img]"Sub02.jpg"[/img]
</CENTER>
<map name="sub">
<area shape="poly" coords="30,348,53,368,34,393,10,372" href="leeg.html" title="">
<area shape="poly" coords="70,346,54,367,31,346,48,327" href="leeg.html" title="">
<area shape="poly" coords="88,325,72,345,48,324,64,306" href="leeg.html" title="">
<area shape="poly" coords="66,304,89,323,106,303,84,283" href="leeg.html" title="">
<area shape="poly" coords="108,301,84,281,102,260,125,279" href="leeg.html" title="">
<area shape="poly" coords="139,247,120,271,142,292,163,266" href="leeg.html" title="">
<area shape="poly" coords="165,265,141,245,158,225,179,245" href="leeg.html" title="">
<area shape="poly" coords="180,244,158,224,175,203,197,223" href="leeg.html" title="">
<area shape="poly" coords="200,222,177,201,194,181,215,202" href="leeg.html" title="">
<area shape="poly" coords="217,200,193,180,213,159,234,177" href="leeg.html" title="">
<area shape="poly" coords="236,174,213,155,233,131,254,150" href="leeg.html" title="">
<area shape="poly" coords="257,150,233,129,250,109,272,127" href="leeg.html" title="">
<area shape="poly" coords="274,127,251,108,269,87,289,107" href="leeg.html" title="">
<area shape="poly" coords="293,105,270,84,286,65,307,83" href="leeg.html" title="">
<area shape="poly" coords="309,83,287,64,306,41,329,61" href="leeg.html" title="">
</map>
</BODY>
</HTML>
Maar, bij een HTML pagina met een plaatje, is hij nooit geheel beeldvullend, de pop-up heeft exact de afmeting van het plaatje, maar toch staat er een wit randje omheen, probeer het zelf maar eens, maak screenshot, en zet het in een HTML pagina, als plaatje, en zet IE op fullscreen, dan zie je nog stukje niet, en een witte rand erom heen. Maak je er echter een achtergrond van, dan is die witte rand weg, en zie je hem inderdaad geheel. Maar omdat die submappen ook weer klikbare mappen zijn, kunnen ze niet als achtergrond worden ingesteld..... Maar ik wil wel van die witte randen af, snappie nu????