Emaborsa
18-12-2009, 08:17
Ho un codice:
function sit(plain){
posX = 0;
posY = 0;
satWidth= document.all ? screen.availWidth : screen.availWidth;
satHeight= (document.all ? screen.availHeight : screen.availHeight)-54;
eval("hb = open('voll/it/home.htm?gotoURL=" + plain + "', 'xxx', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
hb.focus();
}
il quale mi apre la pagina voll/it/home.htm?gotoURL=....... perņ vorrei farla aprire nella pagina stessa. So che di solito basta usare "target = _self" ma qui non so come fare.
function sit(plain){
posX = 0;
posY = 0;
satWidth= document.all ? screen.availWidth : screen.availWidth;
satHeight= (document.all ? screen.availHeight : screen.availHeight)-54;
eval("hb = open('voll/it/home.htm?gotoURL=" + plain + "', 'xxx', 'toolbar=0,scrollbars=0,resizable=0,status=0,menubar=0,screenX=" + posX + ",screenY=" + posY + ",left=" + posX + ",top=" + posY + ",width=" + satWidth + ",height=" + satHeight + "');");
hb.focus();
}
il quale mi apre la pagina voll/it/home.htm?gotoURL=....... perņ vorrei farla aprire nella pagina stessa. So che di solito basta usare "target = _self" ma qui non so come fare.