![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
a href="#" onClick="window.open ('pagina.html','newWin', 'scrollbars=no,status=no,resizable=no,top=100,left =150,width=300,height=500');" clicca qui </a |
#3
| |||
| |||
|
|
On Sat, 11 Dec 2004 02:35:32 GMT, Gianni wrote: a href="#" onClick="window.open ('pagina.html','newWin', 'scrollbars=no,status=no,resizable=no,top=100,left =150,width=300,height=500');" clicca qui </a Devi aggiungere "return false" al termine dell'onclick. Per intenderci: a href="#" onclick="window.open(..il tuo codice..);return false">click here</a Come detto piu' volte, sarebbe opportuno impostare i link in modo differente, cosi' che anche chi non ha js abilitato riesca cmq a navigare il tuo sito. Ad esempio: a href="pagina.html" target="newWin" onclick="window.open(this.href,this.target,'scroll bars=no,status=no,resizable=no,top=100,left=150,wi dth=300,height=500');return false">click here</a -- C'ya, ZER0 :: coder.gfxer.webDesigner(); "When you have eliminated the impossible, whatever remains, however improbable, must be the truth." (S.H.) on air ~ "donny darko - Mad World (full version)" |
![]() |
| Thread Tools | |
| Display Modes | |
| |