Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
Ah, I see. I checked out the demos there. :hidden targets a div (or any element) which has a css display of "none". The display property is the only property that is targeted by fadeIn, fadeTo, etc, so if your "hidden" class does anything else....
I don't know why this wouldn't work in Chrome, but if you set display: none in a style attribute instead of a class, this should solve your problem.
***EDIT***
You may have seen this before, but the shortcut for setting display: none, is the hide() method. So instead of:
Code:
$('#coolText').addClass ('hidden');
You could just do:
Code:
$('#coolText').hide();
Which would be the same as:
Code:
$('#coolText').css("display", "none");
Last edited by wayfarer07; 03-24-2009 at 09:51 AM..
|