PDA

View Full Version : Target="blank" in JavaScript


race2
09-07-2003, 11:11
Come posso fare per aprire una nuova finestra con questo codice ???



<td height="19" bgcolor="#3D5900" onmouseover="this.style.backgroundColor='#72833F';" onmouseout="this.style.backgroundColor='#3D5900';" onClick="location.href='MiaPagina.html'" style="cursor:hand;"> xxx </td>

cionci
09-07-2003, 16:23
<td height="19" bgcolor="#3D5900" onmouseover="this.style.backgroundColor='#72833F';" onmouseout="this.style.backgroundColor='#3D5900';" onClick="Window.open('MiaPagina.html');" style="cursor:hand;"> xxx </td>

race2
09-07-2003, 23:41
OK, molte grazie, ciao!