Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Mysterious—-> id="header" Re: Mysterious—-> id=”header”

#81654
jamygolden
Member

I’m not sure this is going to fix it, but this is an odd problem, so it might :lol:

Code:
$("#contactArea").height(0);

$("#example").click(function(){
if(!$("#contactArea").is(":animated")){
$("#contactArea").slideToggle(1700, ‘easeOutBounce’);
}
});

I prefer this to the animate() function. And the ‘if #contactarea is not animated’ prevents queueing.

What exactly happens when you remove #header?