hi your code :
- $(document).ready(function init()
- {
- window.onorientationchange(null);
- var images = Array(
- ["IMG/nathan.png"],
- ["IMG/inspiration.png"],
- ["IMG/terredeclat.png"],
- ["IMG/lenny.png"],
- ["IMG/potier.png"]);
-
- zflow(images, "#tray");
- }
is going to call only once when u refresh/load the site and it will associates with the only page "vins".
if you want to call these script each time with your page, then you need to wrap these code into pageshow/pagebeforeshow event otherwise zflow(images, "#tray"); will not gonna call every time you access the page with ajax load using #. do not use document.ready().