Originally Posted by
dewragdave
I've searched and searched but cannot find the right info for this and most of the posts are way too old anyway.
I'm using V1.5 zencart and IH4. I also have Lightbox installed and everything is working properly.
I want to have my images loop after the last one is displayed.
The next button drops off after the last image is displayed as normal.
I want the next button to continue to be displayed and the last image to wrap back to the first image.
Also previous button to display on first image and wrap back to the last image.
Essentially a continuous looping process for the previous and next buttons.
Has anyone posted a solutions for this that I could reference or are there any new simple solutions out there.
I tried Slimbox but it will not display more that one image at a time in Firefox and jumps out of Slimbox on additional images in IE.
there is no built in setting for it, but you can add it yourself manually.
edit [includes/classes/zen_lightbox/options.php]
add
PHP Code:
'loop:' . 'true, ' .
after the FIRST echo line
it will look like this when you are done
PHP Code:
echo
'loop:' . 'true, ' .
'overlayOpacity:' . ZEN_LIGHTBOX_OVERLAY_OPACITY .
',overlayFadeDuration:' . ZEN_LIGHTBOX_OVERLAY_FADE_DURATION .
daniel
Bookmarks