Results 1 to 2 of 2

Thread: auto change image Step Carousel Viewer

  1. #1
    Join Date
    Jul 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default auto change image Step Carousel Viewer

    1) Script Title: auto change image

    2) Script URL (on DD):http://www.dynamicdrive.com/dynamici...epcarousel.htm

    3) Describe problem: on the www.host2design.co.uk they have Step Carousel Viewer change images by its self every 5 sec how do i get this done

    Any help would be great

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Looking at the sourcecode of the page at www.host2design.co.uk I see this
    Code:
    <script type="text/javascript">
                
    				stepcarousel.setup({
    				galleryid: 'mygallery', //id of carousel DIV
    				beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    				panelclass: 'panel', //class of panel DIVs each holding content
    				autostep: {enable:true, moveby:1, pause:5000},
    				panelbehavior: {speed:500, wraparound:false, persist:false},
    				defaultbuttons: {enable: true, moveby: 1, leftnav: ['images/left_scroll.gif', 5, 120], rightnav: ['images/right_scroll.gif', -50, 120]},
    				statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
    				contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
    				})
                
    </script>
    So i guess that's how they do it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •