Er det sådan du vil have det...?
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="da">
<head>
<title>Centreret popup vindue</title>
<script type="text/javascript">
<!-- Dette script og mange flere -->
<!-- findes hos
http://www.html.dk -->
<!-- Start
function popup(url,name,win_height,win_width) {
pos_horizon = ((screen.width/2)-(win_width/2));
pos_vertical = ((screen.height/2)-(win_height/2));
window.open(url,name,"width="+win_width+",height="+win_height+",top="+pos_vertical+",left="+pos_horizon);
}
// Slut -->
</script>
</head>
<body>
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><div style="width:165px;text-align:center;border:1px solid white;">
<a href="#" onclick="popup('side1.htm','mitvindue1','300','300');"><img src="
http://www.mandarindesign.com/images/s2a.gif" style="border:1px solid black;" border="0" width="50" height="50"></a>
<a href="#" onclick="popup('side2.htm','mitvindue2','300','300');"><img src="
http://www.mandarindesign.com/images/s2b.gif" style="border:1px solid black;" border="0" width="50" height="50"></a>
<a href="#" onclick="popup('side3.htm','mitvindue3','300','300');"><img src="
http://www.mandarindesign.com/images/s2c.gif" style="border:1px solid black;" border="0" width="50" height="50"></a>
<a href="#" onclick="popup('side4.htm','mitvindue4','300','300');"><img src="
http://www.mandarindesign.com/images/s2d.gif" style="border:1px solid black;" border="0" width="50" height="50"></a>
<a href="#" onclick="popup('side5.htm','mitvindue5','300','300');"><img src="
http://www.mandarindesign.com/images/s2e.gif" style="border:1px solid black;" border="0" width="50" height="50"></a>
<a href="#" onclick="popup('side6.htm','mitvindue6','300','300');"><img src="
http://www.mandarindesign.com/images/s2f.gif" style="border:1px solid black;" border="0" width="50" height="50"></a>
</div>
</body>
</html>