jquery - Firebug 1.6 doesn't show me JS errors -
i working in local , updated firebug new version. before update whatever error making js, firebug showing me on line wasn't working code (so understand did mistake).
now website breaks, don't receive message js not working firebug. there changed? script enabled.
this code
$("#cv").hover( // when mouse enters box do... function(){ $("#hover-cv").css("z-index":"6"); anicircle(1, $(this), "#hover-cv", {scale:"1", "opacity":"0"}, {scale:"1.3", "opacity":"1"}); }, // when mouse leaves box do... function() { $("#hover-cv").css("z-index":"4"); anicircle(0, $(this), "#hover-cv", {scale:"1", "opacity":"0"}); } );
what creating error scripts "$("#hover-cv").css("z-index":"6");" , "$("#hover-cv").css("z-index":"4");"
i don't understand why firebug doesn't warn me wrong. more solution, worried firebug not warning me on js errors.
you either need comma single .css(property, value)
version:
$("#hover-cv").css("z-index","6");
or object notation (with missing {}
) property map version .css(props)
:
$("#hover-cv").css({"z-index":"6"}); ^ missing ^
i seeing same behavior in firebug 1.6 not reporting this, can't find mention of bug in the issues list though.
Comments
Post a Comment