Using the jQuery library, I get an error in the jquery file.
We are trying to do some effects, and work properly in Firefox and Chrome but not in IE, loading the page everything is ok, but when I click the ID for me to run the function, get error.
Detalles de error de página web
Agente de usuario: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Fecha: Sun, 13 Mar 2011 03:39:17 UTC
Any ideas?
My code is as follows:
- $("#navigate1").click(function(e){
e.preventDefault()
var lesser = $("#idreturn").text();
if(lesser == "BIENVENIDA"){
$("#idreturn").html("<span class='idreturn'>BIENVENIDA</span><span class='enlacenow'> / DESCARGAS</span>");
};
$("#nav2").css({'position':"absolute",'width': "0px",'overflow': "hidden",'z-index' :"1000"});
$("#nav3").css({'position':"absolute",'width': "0px",'overflow': "hidden",'z-index' :"1000"});
var n = $('#nav1').width();
if( n ==0){
$("#nav1").animate({
'position' : 'relative',
'width': "+=692px",
'overflow' : "visible",
'z-index' : "20000"
});
};
});
Thanks