Jaipho beta is a free script and we hope that you enjoy using it. If you do, here is a way that you can show us that you appreciate the hard work that we've done for you!
last changed in Jaipho 0.55
There is set of parameters to adjust Jaipho behavior. Those parameters can be changed through set of variables.
TOOLBARS_HIDE_TIMEOUT - In Fullscreen mode, toolbar will autohide after specified time.
SLIDESHOW_ROLL_TIMEOUT - How much time to elapse for slide to change in Slide Show mode.
SLIDE_SCROLL_DURATION - Because of Sliding effect, it takes some time for slide to show in completely on screen. Setting it to "0s" it will actually turn off the sliding effect.
SLIDE_PRELOAD_TIMEOUT - Safari on iPhone seems to have performance problem with WebKit animations while there is loading processes in background, so always keep this value slightly bigger than SLIDE_SCROLL_DURATION.
SLIDE_PRELOAD_SEQUENCE - Determines how much and in which order will other slides be preloaded. Values are relative, assuming that the current slide is at index 0.
SPLASH_SCREEN_DURATION - In miliseconds.
DEFAULT_STARTUP_MODE - Set one of values [thumbs|slider|slideshow] to set the startup mode when there is no explicit instruction in url (e.g. #thumbs)
SLIDE_SPACE_WIDTH - Sets the space between the slides. By default it is set at 40 (pixels). If set at 0, there will be no space between. Available since v 0.55
ENABLE_SAFARI_HISTORY_PATCH - It turns off history management. When set to true (default), pressing Back on browser returns user to referring page where he came from. One feature is lost when this value is enabled: users can not send or add as favorite, direct link to particular slide.
MAX_CONCURENT_LOADING_THUMBNAILS - Only noticeable if you have galleries with lot of pictures in it. It can improve user experience especially on slower mobile connections.
MAX_CONCURENT_LOADING_SLIDE - Because of nature of Full screen mode, this should be keep at 1.
MIN_DISTANCE_TO_BE_A_DRAG - How many pixels user should move finger on screen to be interpreted as dragging. Used in Full screen mode when detecting user next and previous commands done by finger slide.
MAX_DISTANCE_TO_BE_A_TOUCH - This value is used when the touching is actually "click" on something.
CHECK_ORIENTATION_INTERVAL - As there is no event in Safari which will trigger that orientation is changed, this is interval to make that check.
BLOCK_VERTICAL_SCROLL - It prevents not intended vertical screen scroll which would get Slide image out of focus.
SLIDE_MAX_IMAGE_ELEMENS - Determines how max slides can be preloaded in memory. By default is set to 50.
DEBUG_MODE - Is application in debug mode. In Firefox with Firebug enabled, it will use Firebug console. On all others, including iPhone, console div will be shown over the content.
DEBUG_LEVELS - To much debug output will not be usable at all, so here you can set list of modules which are enabled for debug.