Support » Fixing WordPress » vertical auto stepping/scrolling

  • nathan12343


    This is a bit of a long shot…

    I’m using a hacked version of wp-featured-content-slider to put some featured content onto my homepage. This uses left/right buttons to navigate through divs of content. I would like to be able to automatically step from one to the next after a given time period.

    Can anyone help?

    Here is the output code:

    <script type="text/javascript">
    	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
    	panelbehavior: {speed:500, wraparound:true, persist:true},
    	defaultbuttons: {enable: true, moveby: 1, leftnav: ['', 0, 250], rightnav: ['', -65, 250]},
    	statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
    	contenttype: ['external'] //content setting ['inline'] or ['external', 'path_to_external_file']
    <div id="slider">
    <div id="mygallery" class="stepcarousel">
    <div class="belt">
    <div class="panel" style="background:url(">	
    <h2><a href="" title="Kitchen fun">Kitchen fun</a></h2>
    <h3> <p> A whole new range of mouthwateringly beautiful kitchen products.</p>
    <div class="panel" style="background:url(">	
    <h2><a href="" title="Crumbs!">Crumbs!</a></h2>
    <h3> <p>This might be a little of track, but we just had to share this, the world’s greatest, most delicious, ultimate cookie recipe!!</p>
Viewing 4 replies - 1 through 4 (of 4 total)
  • MACscr


    Did you ever figure this out?



    I actually figured it out. Either its the same author as this script or that person copied it. Anyway, just copy the contents of the js file located on the following page and then add the autostep setting to your inline js.



    Autostep wouldnt work for me until I also updated the slider.js file located in the Scripts directory with the stepcarousel.js (v.1.9) code on the link MACscr supplied above.

    It’s the same code, the author must have just renamed the stepcarousel.js to slider.js for the plugin. But you need the latest version for autostep to work.

    Genius! Works like an absolute charm.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘vertical auto stepping/scrolling’ is closed to new replies.