Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/01/2009, 10:44
[email protected]
 
Fecha de Ingreso: octubre-2005
Mensajes: 405
Antigüedad: 18 años, 6 meses
Puntos: 1
adaptar onclick para document.write

document.write("<a href='../acuhtml/modificanpmay.htm?tipo=%%tipo%%&numer
o=%%numero%%' target='popup' onclick='window.open(this.href,this.target,"width= 100, height=100"); return false;'>%%pmay%%</a>");

Al ser ejecutado me da error el onclick no me respeta las medidas de la ventana (300x300)

el codigo funciona
<a href="../acuhtml/modificanpmay.htm?tipo=%%tipo%%&numero=%%numero%%" target="popup" onClick="window.open(this.href,
this.target, 'width=300, height=300'); return false;">Estimar Fecha</a>

es lo mismo pero quiero adaptarlo dentro del document.write.


Alguna idea, se les agradece de antemano....