HighDots Forums  

focus popup

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss focus popup in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrea
 
Posts: n/a

Default focus popup - 10-13-2003 , 06:26 AM






ciao a tutti...sapete come posso fare a aprire un popup, fare il refresh
della pagina madre...e fare in modo che il popup rimanga in primo
piano...perchč miritorna la pagina madre in primo piano...e cosė proprio
non mi piace...
grazie in anticipo...Andrea


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

Reply With Quote
  #2  
Old   
Indec Mal
 
Posts: n/a

Default Re: focus popup - 10-13-2003 , 06:38 AM







Quote:
ciao a tutti...sapete come posso fare a aprire un popup, fare il refresh
della pagina madre...e fare in modo che il popup rimanga in primo
piano...perchč miritorna la pagina madre in primo piano...e cosė proprio
non mi piace...
grazie in anticipo...Andrea
Alla fine delle istruzioni :
nomepopup.focus()


--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG


Reply With Quote
  #3  
Old   
Andrea Cavagnet
 
Posts: n/a

Default Re: focus popup - 10-13-2003 , 06:44 AM



ho provato cosė...ma non funge...
function openBareWindow(URL, title, width, height)
{
window.open(URL, title, "toolbar=0, location=0, directories=0,
status=0,menubar=0, scrollbars=0, resizable= yes, width=" +
width + ", height=" + height);
}

function zoom(camera,a,b)
{
window.location.href = "quad.jsp";
aa=openBareWindow("zoom.jsp?cam="+camera, "camera",a,b);
aa.focus();

}

ho provato anche cosė..dovrebbe sempre essere in primo piano
showModalDialog..no??
var prop = "dialogWidth: "+a; dialogHeight: "+b; center: 1; scroll: 0;
help: 1; status: 0;";
window.showModalDialog("zoom.jsp?cam="+camera, null, prop);




--
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG

Reply With Quote
  #4  
Old   
Marok
 
Posts: n/a

Default Re: focus popup - 10-15-2003 , 12:59 PM



Quote:
ho provato cosė...ma non funge...
Prova a scrivere questa funzione dentro la popup:

function primopiano() {this.focus(); setTimeout("primopiano()",1000);}

Poi:

<body onload="primopiano()>

In questo modo il focus ritorna alla popup ogni mille millisecondi (1 secondo),
anche se l'utente clicca sulla finestra madre.

MaRoK




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.