Page 1 of 1
Add button control
Posted: 18 Sep 2007, 17:42
by xavixaf
I would like to add a new control button, with the "X" symbol with a link to go back or close the window. But i would to have this button at the botton with the other controls.
Is it possible to do it??
thanks in advance.
Xavi
Posted: 19 Sep 2007, 01:58
by globetrotter
You can add a 'closebutton' to the main controls, like:
maincontrols=previous,next,toggleplay,sfx,popup,download,closeslideshow
(add the function 'closeslideshow')
Posted: 19 Sep 2007, 04:16
by xavixaf
Perfect, but how can I tell to this button to open a URL? i need that this button links to a website.
thanks
xavi
Posted: 19 Sep 2007, 04:41
by mjau-mjau
You can sue the customdata setting for that - Open your slideshow configuration file:
customdata = "Any text here, also supports basic html tags"
customdatalink = [link here]
Then add the button in your maincontrols. F.ex.:
maincontrols = select,previous,next,toggleplay,sfx,window,popup,download,customdata
Posted: 19 Sep 2007, 05:44
by xavixaf
Yes, i know that I can do it with customdata control, but I'm using that button only to show information and would to use another to link to other web.
thanks
Posted: 19 Sep 2007, 06:00
by globetrotter
customdatalink = http://www.website.com/
Posted: 19 Sep 2007, 06:17
by xavixaf
My question is how to add a new link for the button "closeslideshow". I would like that this button opens
http://www.website.com.
thanks
Posted: 19 Sep 2007, 06:20
by mjau-mjau
Im afraid you might be out of options then. The gallery controls are only meant to be extended controls of the Imagevue gallery/slideshow. If you need to add multiple external links, like you are trying to do, you need to use the sitemenu module. Are you using the sitemenu?
Posted: 19 Sep 2007, 06:32
by xavixaf
ok, perfect, so I will try with the sitemenu module, The problem is that i have read in the forum that the sitemenu modulo can not be positioned at the bottom, below de buttons.
thanks
Posted: 19 Sep 2007, 07:10
by mjau-mjau
xavixaf wrote:The problem is that i have read in the forum that the sitemenu modulo can not be positioned at the bottom, below de buttons.
Thats true Im afraid ...
Posted: 19 Sep 2007, 07:37
by mjau-mjau
xavixaf wrote:The problem is that i have read in the forum that the sitemenu modulo can not be positioned at the bottom, below de buttons.
Thats true Im afraid ...