Search…

X3 Photo Gallery Support Forums

Search…
 
xavixaf
Experienced
Topic Author
Posts: 24
Joined: 12 Oct 2006, 04:43

Add button control

18 Sep 2007, 17:42

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
 
User avatar
globetrotter
Imagevue Expert
Posts: 844
Joined: 18 Oct 2006, 13:16

19 Sep 2007, 01:58

You can add a 'closebutton' to the main controls, like:
Code
maincontrols=previous,next,toggleplay,sfx,popup,download,closeslideshow
(add the function 'closeslideshow')
Rene
http://www.globetrotternet.nl/
 
xavixaf
Experienced
Topic Author
Posts: 24
Joined: 12 Oct 2006, 04:43

19 Sep 2007, 04:16

Perfect, but how can I tell to this button to open a URL? i need that this button links to a website.

thanks
xavi
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

19 Sep 2007, 04:41

You can sue the customdata setting for that - Open your slideshow configuration file:
Code
customdata = "Any text here, also supports basic html tags"
customdatalink = [link here]
Then add the button in your maincontrols. F.ex.:
Code
maincontrols = select,previous,next,toggleplay,sfx,window,popup,download,customdata
 
xavixaf
Experienced
Topic Author
Posts: 24
Joined: 12 Oct 2006, 04:43

19 Sep 2007, 05:44

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
 
User avatar
globetrotter
Imagevue Expert
Posts: 844
Joined: 18 Oct 2006, 13:16

19 Sep 2007, 06:00

Code
customdatalink = http://www.website.com/
Rene
http://www.globetrotternet.nl/
 
xavixaf
Experienced
Topic Author
Posts: 24
Joined: 12 Oct 2006, 04:43

19 Sep 2007, 06:17

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

19 Sep 2007, 06:20

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?
 
xavixaf
Experienced
Topic Author
Posts: 24
Joined: 12 Oct 2006, 04:43

19 Sep 2007, 06:32

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

19 Sep 2007, 07:10

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 ...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

19 Sep 2007, 07:37

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 ...