Forums

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

Home Forums JavaScript Weird blinking in jQuery fade effect Re: Weird blinking in jQuery fade effect

#122834
Mottie
Member

Hi esbenvh!

Well the first thing I noticed was that the css for the html definition is missing a “k”

html {
font-size: 100%;
bacground-color:#000;
}

I don’t think that will fix the issue since the browser’s default unstyled background color is usually white. So I think a better idea might be to add a content wrapper immediately inside the body and fade that out instead of the body.

You might want to also speed up the transition, one second is a bit long considering one second to fade out and another to fade back in.