jeudi 26 janvier 2006

Surprise: requin ou dauphin?

function popup(strUrl, height, width) {
var xOffset = (screen.width - width)/2;
var yOffset = (screen.height - height)/2;
var strParameters = "toolbar=no,scrollbars=yes,location=no,status=no,menubar=no,directories=no,resizable=yes,width=" + width + ",height=" + height + ",screenX=" + xOffset + ",screenY=" + yOffset + ",top=" + yOffset + ",left=" + xOffset;
var win=window.open('','popup_',strParameters)
win.location.replace(strUrl);
win.resizeTo(width ,height);
win.focus();
}






transmis par Roland

Aucun commentaire:

Enregistrer un commentaire