View Full Version : Question about the picshow plugin Move Posts
Garbin
12-01-2009, 08:00 AM
Hello,
thanks for this cool plugin.
Is it possible to call a function when the close button is clicked?
Virtualguide
12-01-2009, 09:16 AM
U can define what to do "onClick". look at the FPP manual or examples here.
Garbin
12-01-2009, 02:19 PM
Thanks for your suggestion, but it isn't working.
My scenario is:
I'm using the picshow plugin to display an image that can be zoomed and panned (these are two picshow features that I love).
For performance reason, I'd like to decrease the quality of the pano (both static and motion) when the picshow frame is displayed. Then, I'd like to restore the static and motion quality when the picshow frame is hidden.
I can intercept the click event of an hotspot in order to change the pano's parameters before the picshow frame is displayed, but I don't know what event to intercept in order to restore the parameters to their original value. Being able to call a function when the close button of the picshow frame is clicked would do the trick.
Any ideas? Thanks in advance.
Garbin
12-05-2009, 11:33 AM
Bump!
anyone?
allSaints
12-05-2009, 02:02 PM
Garbin,
I have uploaded a new version (V1.0.4) of the picshow plugin, in which you can specify an onClose="command".
Tommy
Garbin
12-07-2009, 12:09 PM
Hello,
Tommy this is awesome, it works like a charm :)
Thanks so much!
vBulletin® v3.7.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.