Page 1 of 1
Display Descriptions under Images in Phoca Gallery Slideshow
Posted: 17 Oct 2011, 23:29
by spacecow
Hi,
I'm trying to find a way to display the descriptions under the images within the article (not after popup) in the Phoca Gallery Slideshow plugin.
Can anyone suggest an option for this?
Thank you for your time!
Re: Display Descriptions under Images in Phoca Gallery Slide
Posted: 17 Oct 2011, 23:41
by spacecow
If there's a simple option that I'm overlooking I don't want this to be a sidetrack, but something I've tried is using the code from:
http://www.dynamicdrive.com/forums/show ... hp?t=54084
Adding:
onslide:function(curlayer, curimage){
var $image=jQuery(curlayer).find('img').eq(curimage) //reference current image being shown
var $descpanel=this.setting.$descpanel //reference description panel
$descpanel.css({top:parseInt($image.css('marginTop'))+parseInt($image.height())})
}
To the normal Ultimate Fade-In Slideshow code in Plugins>Content>phocagalleryslideshow>phocagalleryslideshow.php.
However, I'm now getting the error:
Fade In Slideshow error: An error has occured somwhere in your code
attached to the "onslide" event: TypeError: $descpanel is undefined
Re: Display Descriptions under Images in Phoca Gallery Slide
Posted: 18 Oct 2011, 00:31
by Jan
Hi, this is possible since version 3.x
See:
https://www.phoca.cz/documents/19-phoca- ... how-plugin
the parameter desc
Jan