Topic: Re-using a SimpleViewer object embedded in a page
I embedded SimpleViewer in my html page. When a user selects a gallery in the menu, SV.simpleviewer.load(...) is called for displaying the gallery. When the user selects another gallery, SV.simpleviewer.load(...) is called again.
I know, your horizontal- and vertical-template examples have another approach, but I’d prefer mine.
My site is here: ionstravels.ro/mainpage.html?nomobile=true
It seems to be ok, excepting that, for HTML5 galleries on WebKit based browsers, starting with the second displayed gallery, change orientation / resize stop working:
- on Safari mobile on mobile devices (iPhone, Android), starting with the second displayed gallery change orientation doesn’t work
- on Chrome or Safari on PCs, Flash disabled, starting with the second displayed gallery resizing doesn’t work; (note: IE, FF are ok!)
Now the question: Is there any method for ‘resetting’ a SimpleViewer object before reusing it? Something like:
If not, could you provide it in a future version?
Last edited by jviewer (2011-03-20 08:38:03)