JavaScript - Problemas con netscape(urge, por fa...)

 
Vista:

Problemas con netscape(urge, por fa...)

Publicado por Ivan vargas (1 intervención) el 28/04/2003 21:32:15
El código siguiente corre en IE y no corre en Netsacape, me manda el error:

Javascript error: Type 'javascript:' into Locations for details

if (document.all) {
var version = navigator.appVersion;
if (version.toLowerCase().indexOf('mac') > -1)
{
document.writeln('<div id=\"PopUpCalendar\" style=\"position:absolute; left:500px; top:183px; z-index:1;

width:0px; height:0px; overflow: visible; visibility:visible; border: 0px none #ffffff \">');
}
else
{
document.writeln('<div id=\"PopUpCalendar\" style=\"position:absolute; left:510px; top:224px; z-index:1;

width:0px; height:0px; overflow: visible; visibility:visible; border: 0px none #ffffff \">');
}
document.writeln('<div id=\"monthDays\" style=\"position:relative; left:0px; top:0px; z-index:9; width:0px;

height:0px; overflow: visible; visibility:inherit; background-color: #ffffff; border: 0px none #000000

\"> </div></div>');
} else {
document.writeln('<div id=\"PopUpCalendar\" > <div id=\"monthDays\"> ');
document.writeln('<table height=\"100\" width=\"150\"><tr><td> </td></tr></table></div></div>');
}

de antemano, gracias por su ayuda.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder