pop-up3.js
Code:
function popcontact(URL) {
var popup_width = 400
var popup_height = 400
day = new Date();
id = day.getTime();
window["page" + id] = window.open(URL, id, 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width='+popup_width+',height='+popup_height+'');
}
Code:
<!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>
<script src="popupfield_bestanden/pop-up3.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Test Document</title>
</head>
<body>
<a href="coupon.html" onclick="popcontact(this.href);return false;">
<img src="popupfield_bestanden/confirmation_BagTag.jpg" usemap="#map" width="330" border="0" height="327" />
</a>
<map name="map" id="map"><area shape="rect" coords="109,202,239,257" href="http://www.msn.com/"></map>
</body></html>
Bookmarks