On Dec 27, 2007 10:06 AM, Jeroen <[EMAIL PROTECTED]> wrote:

On Dec 27, 2007 2:35 AM, Hamish Campbell <[EMAIL PROTECTED]> wrote:
>
> >
> > Using FF2, FF3b2, IE7 and IE6 I don't get the flicker (XP SP2,
> > 1280x1024, P4 3.2Ghz). Do you have a demo? Maybe you're running lots
> > of other code first?
> >
> >
Just quoting myself a bit :)


> You can view a development version here: http://test.intellit.nl/.
> Try to browse through the photos a  while (using hover-navigation on the
> photo or use a  shortcut, keyboard < and >).
>
>
I did a dirty fix by making sure the images do not get cached using the
following code:

    var img_Src = $('#photo').attr('src') + '?nocache=' + new
Date().getTime();
    $('#photo').attr('src', img_Src);

It works now. Seems because of the image caching the browser is faster then
the .ready function to display the photo / fadeIn. Hence the flicker. But
it's a
very dirty solution (this will increase bandwidth, not really a problem
though).

Any ideas to fix this in a more efficient way?

-- 
Jeroen

Reply via email to