Skip to content

Category: jaiphoSyndicate content

JAIPHO 0.52 - Javascript history patch

July 24, 2009 by Tole

There is bug in Safari browsers while interpreting javascript document.location.replace() method. Instead of just replacing the loaction, it also appends history. Result is that after you navigated in Jaipho through slides, pressing Back in browser will return you through slides back (still in Jaipho), instead returning you to original page you came from (gallery list, news article ...). Several users contacted me regarding this annoying behavior.
This version offers patch for this problem.

Try Jaipho demo in emulator mode with your iPhone

April 27, 2009 by Tole

Emulated Jaipho on iPhoneThere are two variants of Jaipho demo page. One is the real Jaipho and you can see it if you access demo page www.jaiphodemo.info with your iPhone. Another variant, iPhone emulated version, will be shown at the same address if you access with your browser on your desktop computer. In emulated version Jaipho itself is opened in iframe. If you saw both versions, you might ask yourself, can Safari in iPhone display the "emulated" version and how it will behave? Is the javascript support that much good?

Now you can try it for your self. Just grab the iPhone and click on this link http://www.jaiphodemo.info/?forcewebdemo=1

JAIPHO Configuration

April 19, 2009 by Tole

last changed in Jaipho 0.53

There is set of parameters to adjust Jaipho behavior. Those parameters can be changed through set of variables.

Basic parameters

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.

JAIPHO 0.51 - Improved image preloading

April 15, 2009 by Tole

Here is second beta release. As major change it brings better user experience on loading both thumbnails and slides in your gallery. Here is the list of all changes.

Jaipho changes
Upgraded images preloading system - javascript JphUtil_Preloader class. It preloads slides, so when user triggers next button the image will already be prepared. There are few changes in it comparing to previous version.

JAIPHO beta - Javascript image gallery for iPhone

March 21, 2009 by Tole

One of the most impressive iPhone achievements is the Photos application. Taking advantage of big screen, gestures, gyroscope and most important: extra good user interface it is just miles away from ordinary cell phones.
There is one more another iPhone killer feature: Safari browser. It actually made for first time in history, mobile surfing really usable. You can browse the mobile, as well as standard websites and enjoy in it.

But what is the situation when you are browsing some web images gallery?

Installation Guide

Here is short guide how to implement jaipho gallery. Follow this steps, and in best case you'll have your images gallery optimized iPhone version in just 15 minutes.

Upload Files

Download and unzip distribution package.
Showing images on iPhone requires whole screen, so it will require page for itself. Use the index.html as template, rename it as you need e.g. jaipho.php, igallery.php, iphone-gallery.jsp...Also rename the list template list.html if needed.