Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(function() {
- $('#slideshow ul').after('<ul id="nav">').cycle({
- fx: 'fade',
- speed: 'fast',
- timeout: 0,
- pager: '#slideshowNav',
- // callback fn that creates a thumbnail to use as pager anchor
- pagerAnchorBuilder: function(idx, slide) {
- return '<li><a href="#"><img src="' + slide.src + '" width="50" height="50" /></a></li>';
- }
- });
- });
- </script>
Add Comment
Please, Sign In to add comment