Hello, I have div, which has id 'content'. It's visible.
<div id="wrapper" style="display:block">
<div id="content">
Some text
</div>
</div>
Now I want to fade it out:
$('#wrapper').fadeIn( 1500 );
$('#content').click(function(){
$(this).fadeOut( 1500 );
});
And nothing happens. But when I wrote:
$('#content').fadeIn( 1500 );
It hides and then shows again.
Here is css
#content
{
height: 100%;
width: 100%;
}
Browser: Firefox 3.5.3 under Linux Gentoo
upd
When I type code:
$('#content').hide();
It hides correctly.
upd
I've solved problem... I can't understand, why did it was... Just replaced jquery.min with jquery