Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Member sstjohn's Avatar
    Join Date
    Feb 2012
    Location
    Indiana
    Posts
    33
    Member #
    30934
    Liked
    5 times
    Hello all. I am using an image slider as a navigation for dynamically loading another image showcase into an iframe. The slider is a freebie and it auto scrolls from right to left. I need this to stop!
    I want the slider to advance only on the left or right arrow click from the end user.

    This is the script inside the HTML <body> tags:

    Code:
     $(window).load(function(){
                                var images = ['images/newBoats/1.jpg', 'images/newBoats/2.jpg', 'images/newBoats/3.jpg', 'images/newBoats/4.jpg', 'images/newBoats/5.jpg', 'images/newBoats/6.jpg', 'images/newBoats/7.jpg', 'images/newBoats/8.jpg', 'images/newBoats/9.jpg'];
                                $('#slider').append('<img src="img/loader.gif" id="slider_loader" style="position:absolute; top:45%; left:45%;"/>');
                                $.preloadImages(images, init);
                                function init()
                                {
                                    $('#slider_loader').remove();
                                    $('#slider').imgSlider(images);
                                }
                          });
    The external file is here: http://interachnid.com/carousel.js

    Any help would be greatly appreciated!

  2.  

  3. #2
    Member
    Join Date
    Nov 2012
    Location
    Tampa. FL
    Posts
    59
    Member #
    33844
    Liked
    21 times
    Comment out (or remove) this line near the bottom of your external js file.
    timeout_id = setTimeout(auto_animate, 3000);
    Freelance Web Developer


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:17 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com