1 2 3 4 5 6 7 8 9 10 11 12
|
<script language="JavaScript">
function ouvrirFenetreContacts(url){
//put the popup in the center of the mother window
var width = window.outerWidth/2;
var height = window.outerHeight/2;
var posX = window.screenX + window.outerWidth/4;
var posY = window.screenY + window.outerHeight/4;
var param = 'toolbar=no,location=no ,directories=no,status=no, scrollbars=yes,resizable=yes, copyhistory=no,width='+width+',height='+height+',top='+posY+',left='+posX;
window.open(url,'popup',param);
}
</script> |
Partager