Skip to content

JAIPHO 0.53.00 - Splash screen

April 4, 2010 by Tole

Added splash screen functionality. Splash screen is the first thing which is displayed. It stands on for minimally SPLASH_SCREEN_DURATION seconds. Gallery itself is displayed after that period is exceeded.
If you set SPLASH_SCREEN_DURATION to 0, the gallery is displayed as soon the document onload is triggered. The goal was also that splash screen is loaded as soon as possible. For that reason, the source is split in two parts. jaipho-0.53.00-preload-src.js is smaller and holds the Splash screen and some common functionalities. jaipho-0.53.00-main-src.js holds the rest of the Jaipho package.

Added the new config value, DEFAULT_STARTUP_MODE, which determines in which mode Jaipho will be started in case that there are no url instruction (e.g. jaipho.php#thumbs) .
Possible values are:
- thumbs - The thumbnails screen
- slider - Default value. Jaipho is started with first image opened
- slideshow - Slideshow is auto started.

Changes summary:
- added css classes for splash screen
- added two configuration values (SPLASH_SCREEN_DURATION and DEFAULT_STARTUP_MODE)
- added html block with splash screen content
- javascript source is split at two, and it is loaded separately on two places in html template
- in html template, two javascript funcntions are added to support the splash screen / gallery modes.

AttachmentSize
jaipho-0.53.00.zip102.37 KB