1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<script language="javascript">
function ouverture_popup()
{
// ******************
// Ouverture du popup
// ******************
var popup;
l=550;
h=313;
hauteur=Math.round((screen.availHeight-h)/2);
largeur=Math.round((screen.availWidth-l)/2);
popup = window.open("rep/page_dans_popup.php", "popup_test", "toolbar=0,location=0,directories=0,status=0, scrollbars=0,resizable=0,menubar=0,top="+hauteur+",left="+largeur+",width="+l+",height="+h);
}
</script>
</head>
<body>
<a href="#" onClick="ouverture_popup();">Cliquer pour ouvrir le popup</a>
</body>
</html> |
Partager