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
| <script type='text/javascript' >
function openwin(url,w,h){
if(document.all){
leftx=(document.body.clientWidth-w)/2;
topx=(document.body.clientHeight-h)/2;
}else if(document.layers || document.getElementById){
leftx=(window.innerWidth-w)/2;
topx=(window.innerHeight-h)/2;
}else{
leftx=(screen.availWidth-w)/2;
topx=(screen.availHeight-h)/2;
}
fen=window.open(url,"zoom",'"location=no,scrollbars=yes,status=no,'+
'resizable=yes,width='+w+',height='+h+
',screenX='+parseInt(leftx)+',left='+parseInt(leftx)+
',screenY='+parseInt(topx)+',top='+parseInt(topx)+'"');
fen.focus();
}
</script>
</head>
<body>
<a style="cursor:auto;" onmouseup="openwin('mapage.htm',100,100);" alt="Cliquez ici" style="cursor:pointer;">Cliquez ici</a>
</html> |
Partager