P – Portare in primo piano la finestra

DOMANDA

é possibile mettere in primo piano una nuova Window?

RISPOSTA

bisogna digitare nella finestra precedente:
window.focus();

Oppure dopo aver sviluppato la finestra:
miaPopUp=window.open(‘sponsor.htm’, ”, ‘width=”300″,height=”300″,left=”100″,top=”100″,menubar,toolbar’);

possiamo permettere alla finestra che và sul nostro fuoco:
miaPopUp.focus();

Lascia un Commento

Fill in your details below or click an icon to log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Log Out / Modifica )

Foto Twitter

You are commenting using your Twitter account. Log Out / Modifica )

Foto di Facebook

You are commenting using your Facebook account. Log Out / Modifica )

Connecting to %s

Iscriviti

Get every new post delivered to your Inbox.