WordPress.org

Ready to get started?Download WordPress

Forums

my images wont scroll (1 post)

  1. austinguard
    Member
    Posted 1 year ago #

    i was just trying to delete a picture from one of my pages and now the slideshow is stuck on the first image i found this code on my page template and im sure its for the slideshow but ive compared it to the working template and they are identical, plz help

    template name: 01_home

    */
    /*
    
    get_header(); ?>
    
    <script type="text/javascript">
    function xslideshow() {
        var $active = $('#xslideshow IMG.active');
        if ( $active.length == 0 ) $active = $('#xslideshow IMG:last');
        var $next =  $active.next().length ? $active.next() : $('#xslideshow IMG:first');
        $active.addClass('last-active');
        $next.css({opacity: 0.0})
            .addClass('active')
            .animate({opacity: 1.0}, 1000, function() {
                $active.removeClass('active last-active');
            });
    }
    $(function() {
        setInterval( "xslideshow()", 6000 );
    });

    [Moderator Note: Please post code or markup snippets between backticks or use the code button.]

    my website is http://www.austinguard.com

Topic Closed

This topic has been closed to new replies.

About this Topic