문제

I know there has to be an easy solution for this!

http://procollage.com/site10/wall-of-fame/favs-cycle.html

I have a thumbnail image pager, I just want each slide to have a description underneath the large photo. It can be done, right? Help please?!

도움이 되었습니까?

해결책 2

<script type="text/javascript">
$(function() {
    $('#slideshow').before('<ul id="nav">').cycle({
        fx:     'fade',
        speed:  'slow',
        timeout: 0,
        pager:  '#nav',
        pagerAnchorBuilder: function(idx, slide) {
            var src = $('img',slide).attr('src');
            return '<li><a href="#"><img src="' + src + '" width="50" height="50" /></a></li>';
        }
    });
});
</script>

다른 팁

I would suggest you create a list of links. Each link corresponds to a panel below. The panels are absolutely-positioned one on top of the other. When you click a link, it fades out all non-corresponding panels, and shows its own.

Example: http://jsbin.com/ubebo/2/edit

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top