Advertisement
str-wrs

Sliding Viewer: 1

Apr 4th, 2013
4,126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  2. <script type="text/javascript" src="http://static.tumblr.com/lv6casp/aCNm74ixy/stepcarousel.js">
  3. /***********************************************
  4. * Step Carousel Viewer script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
  5. * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
  6. * This notice must stay intact for legal use
  7. ***********************************************/
  8. </script>
  9.  
  10. <script type="text/javascript">
  11. stepcarousel.setup({
  12. galleryid: 'mygallery', //id of carousel DIV
  13. beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
  14. panelclass: 'panel', //class of panel DIVs each holding content
  15. autostep: {enable:false, moveby:1, pause:3000},
  16. panelbehavior: {speed:500, wraparound:false, wrapbehavior:'slide', persist:true},
  17. defaultbuttons: {enable: true, moveby: 1, leftnav: ['http://i48.tinypic.com/357klf6.png', -40, 120], rightnav: ['http://i45.tinypic.com/2w1tp5l.png', 10, 120]},
  18. statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
  19. contenttype: ['inline'] //content setting ['inline'] or ['ajax', 'path_to_external_file']
  20. })
  21. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement