This support forum belongs to the YUI Slideshow Gallery Module.
YUI Slideshow has a bug tracker here: http://github.com/jlizarraga/yui3-gallery/issues
| Page 1 of 1 | [ 2 posts ] |
|
Would it be possible to display captions using the ALT text?
|
Josh LizarragaYUI Contributor
|
Hi DJ,
You could accomplish this in the upcoming 2.1 release. You can get the source here if you want to try it out: http://freshcutsd.com/dev/yui-slideshow/2.1-dev.js Something like this would do the trick: Code: var slideshow = new Y.Slideshow('#slideshow'); slideshow.on('slide', function(e){ Y.one('#caption').setContent( this.get('_incomingSlide').one('img').get('alt') ); }, slideshow); Josh |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group