allora, sono in una popup e devo devo aprire una pop up posizionata in modo dipendente da quella madre...
vi posto il codice che forse è più chiaro di me:
questo è quello che apre la popup madre:
questo invece è quello che dovrebbe aprire la popupcodice:function nome(page) { var w = 790; var h = 540; var l = (screen.width-w)/2 -5; var t = (screen.height-h)/2 -30; window. open(page,"","width=' + w + ',height=' + h + ',top=' + t + ',left=' + l+' ,'scrollbars=no,resizable=no,status=no,location=on,toolbar=yes' );
codice:function nome(url, nome) { var w = 790; var h = 540; var l = (screen.width-w)/2 -5; var t = (screen.height-h)/2 -30; newin = window. open(url, nome,'scrollbars=yes,resizable=yes , top = '+t+40 ' , left='+l+ 100' ,width=460,height=360,status=no,location=no,toolbar=no'); newin.focus()
richiamato con
a href="javascript:nome('pippo.htm',pippo)
NON FUNZIONA,
se tolgo la parte in rosso, funziona , ma logicamente mi apre la seconda popup esattamente sopra la prima, a me invece serviva spostata....
mi sa che faccio un errore di sintassi![]()
qualcuno può aiutarmi? :gren:

 
					
					
					
						
  Rispondi quotando
 grazie!!!