Código:
y en el HTML: <script language="JavaScript" type="text/JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } //--> </script>
Código:
Pero al intentar validarlo me dice esto: <a href="#" onClick="MM_openBrWindow('avisolegal.html','avisolegal','scrollbars=yes,width=400,height=600')">Aviso Legal</a>
Cita:
Hay alguna manera de conseguir que esto valide XHTML transicional? (y siga funcionando?) 1. Error Line 131 column 25: there is no attribute "onClick".
| <a href="#" onClick="MM_openBrWindow('avisolegal.html','avisol egal','scroll
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. ....
| <a href="#" onClick="MM_openBrWindow('avisolegal.html','avisol egal','scroll
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. ....