Is there a way to load images without a complete screen refresh? Is there a way to load images without a complete screen refresh?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Is there a way to load images without a complete screen refresh?

Started by jimromo, December 24, 2005, 04:49:35 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jimromo

I've noticed that whenever you move to another image the entire screen refreshes and you have to scroll back to see the picture.
It would be great if we could pre-load the next image (through javascript) and have it fade it without having the picture jump.

Basically, when someone clicks the next arrow or one of the thumbnails it would behave just like the images transition during a slideshow.

Thanks

marcamillion


Tranz

Javascript is a PITA and needs to be avoided unless otherwise necessary.

Joachim Müller

Quote from: TranzNDance on February 15, 2006, 05:17:39 AM
Javascript is a PITA and needs to be avoided unless otherwise necessary.
It is, but the slideshow relies heavily on it anyway, so it wouldn't hurt to modify it anyway. In a future version we should consider another slideshow JavaScript. However (as Thu suggested): the primary navigation will remain in plain HTML, possibly with an admin settable option or a plugin to switch to some bound-to-break JavaScript gimmick (Ajax, if you must hear the buzzword).