Search…

X3 Photo Gallery Support Forums

Search…
 
fm
Topic Author
Posts: 6
Joined: 22 May 2008, 06:57

asfunction in texpages to call thumbs

19 Dec 2008, 08:44

hi,
i have tried the asfunction on texpages , it's working for contactform and fullscreen, but i can't call thumbnails nor slideshow. here is the code in the texpage: <a href="asfunction:_root.togglethumbnailsfunc"><img src="imagevue/themes/sus/info.jpg" width="800" height="360"/></a>
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: asfunction in texpages to call thumbs

19 Dec 2008, 12:34

fm wrote:i have tried the asfunction on texpages , it's working for contactform and fullscreen, but i can't call thumbnails nor slideshow. here is the code in the texpage: <a href="asfunction:_root.togglethumbnailsfunc"><img src="imagevue/themes/sus/info.jpg" width="800" height="360"/></a>
Ok, the asfunction is a little tricky for people to customize as it triggers actionscript directly. I can tell you why it doesn't work:

The togglethumbnailsfunc is a function that "toggles" between image and thumbnail mode in an actual gallery. It will not work from a textpage that has neither thumbnails or image.

Use this method instead:
Code
<a href="#content/yourfolder/"><img src="imagevue/themes/sus/info.jpg" width="800" height="360"/></a>
It is a simple link directly to the thumbnails of a gallery.