javascript - Pulling data-caption from image with Elastic Image Slideshow, and display it on the page -
i using elastic image slideshow script, , add data-caption text each image, display text of shown image div, outside of slideshow (basically in different section of page.)
i found this script, work jquery cycle, , tried modify work not having luck.
ok, found fiddle: http://jsfiddle.net/snfst/6/ , modified down this:
$('img').hover(function(){ $('#caption').html($(this).data('caption')) });
question how load without having hover on image, , show data shown image?
the page i'm trying make work on might better show i'm trying do: http://diguiseppi.com/brad/andy/portfolio-web-design.html
Comments
Post a Comment