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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 1 Guest 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).