View Full Version : Blending Image Slideshow - image freeze

04-02-2007, 03:15 PM
Hey coders!

Already got a lot of help with this script earlier on (http://www.dynamicdrive.com/forums/showthread.php?t=19082) - now there's another little thing I can't figure out.

I'm using the Blending image script (http://www.dynamicdrive.com/dynamicindex14/image4.htm).

I've copied the code and made it an external js file to this site: CPH Locations (http://www.cphlocations.com)

The javascript of that site can be found here (http://www.cphlocations.com/js/imageblend.js).

So far so good - everything's smooth.

Now my issue is this: in the 4th column of the photos, when the 4th picture is showing (the one with the window of a barn) it freezes for a while.
Any explanation for that?
I've checked the picture (130.jpg), but can't find any errors.
Is it because of the browser cache or the scipt maybe?

The weird thing is, that it doesn't happen everytime, but sometimes - and it happens whether the cache is "full" or empty.

04-02-2007, 05:02 PM
I'm not seeing it here. Most likely that is just a local burp of your CPU. If so, there is nothing you can do about it except stagger the times at which the images change and/or have less instances of the show. Oh, and you could close all other applications to give maximum CPU time to the animation scripts.

In any case, a script such as this requires a good amount of bandwidth and a fairly decent CPU/computer set up. This is similar to the resources required by - say, a Flash animation or, in this case, 4 flash animations.

04-02-2007, 09:40 PM
Yes i know :)

The client loves his slideshows - can't do anything about it.

Once again
Thx for your help.