Background image FOUC flicker in Safari

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
georgeoc
Forum Contributor
Posts: 166
Joined: Wed Aug 09, 2006 4:21 pm
Location: London, UK

Background image FOUC flicker in Safari

Post by georgeoc »

Hi all,

Could people please check the site I'm working on (http://georgecrawford.com/~ealter/) and let me know if there's a flicker in the background on each page refresh? It's fine in all my browsers except Safari (latest) on the Mac. The repeating background tile doesn't seem to cache in Safari, so it reloads every time the page is refreshed and there's a flicker of background white for a moment. Is there something wrong with the HTMl or CSS, or Safari, or my copy of Safari, or my computer.........or my eyes?

Thanks
georgeoc
Forum Contributor
Posts: 166
Joined: Wed Aug 09, 2006 4:21 pm
Location: London, UK

Re: Background image FOUC flicker in Safari

Post by georgeoc »

It happens in Safari on Windows too.

How can I avoid this? I'm using jQuery - is there something I can do to halt the page display until the image is downloaded?
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: Background image FOUC flicker in Safari

Post by matthijs »

I only see the flicker when I do a refresh, not when I just visit different pages. So navigating around it seems to be alright (safari/mac).
georgeoc
Forum Contributor
Posts: 166
Joined: Wed Aug 09, 2006 4:21 pm
Location: London, UK

Re: Background image FOUC flicker in Safari

Post by georgeoc »

Strange - today I only get the flicker on refresh as you describe. Yesterday was with navigation as well.

It seems fine now - either because I've restarted Safari in the meantime, or because I did an FTP upload of a few changed files last night.

Thanks anyway!
Post Reply