• Hi, I have a problem, i’m using your plug in in my web site, but i have a big problem with the prev/next buttons, I used the slide rigth and it works, when I put the prev/next buttons i do in this way:
    in the header.php in a <script> i put

    jQuery('.total-slider').cycle({
    	speed:          1000,
    	timeout:        11000,
    	prev:       jQuery('#total-slider-previous'),
    	next:       jQuery('#total-slider-next')
    });

    and also

    jQuery('.ts-default').cycle({
    	speed:          1000,
    	timeout:        11000,
    	prev:       jQuery('#total-slider-previous'),
    	next:       jQuery('#total-slider-next')
    });

    the last one class is the slide class, after this, i create in my index.php inside the div called

    <div id="slideHome">
        <div id="total-slider-previous" class="arrow-previous"></div>
        <div id="total-slider-next" class="arrow-next"></div>

    after this the page load the slide, i tried to use

    <?php if ( $s->is_runtime() ) : ?>
            <div id="total-slider-previous" class="arrow-previous"></div>
    	<div id="total-slider-next" class="arrow-next"></div>
    <?php endif; ?>

    but i had a Fatal error: Call to a member function is_runtime() on a non-object in
    I don’t know that i need to do, help please thanks!

    https://www.ads-software.com/plugins/total-slider/

  • The topic ‘prev/next button problems’ is closed to new replies.