www.webdeveloper.com
Results 1 to 4 of 4

Thread: Get My Slider to Autoplay?

  1. #1
    Join Date
    Jun 2013
    Posts
    38

    Get My Slider to Autoplay?

    I have a simple, non-javascript slider. Just css and html, from what I can tell.

    I don't have much experience with javascript or jquery and most of it is very confusing to me.

    Having said that, is there any way to get my slider to autoplay? To switch from slide to slide every 3 seconds or so? I know it may well require JS or jQ, but if it does, I'm going to need some hand-holding here... :s

    The website is www.cleantelligent.com. You can get the code there.

    Thanks so much for any help you can give!

  2. #2
    Join Date
    Jun 2008
    Posts
    106
    The slider uses jQuery.

    To change its timeout, find this line in your source code:
    Code:
    timeout: 30000000
    It is set to fade automatically every 8.3 hours (intended never to fade, basically).
    Change the number 3000 to have it fade every 3 seconds.

  3. #3
    Join Date
    Jun 2013
    Posts
    38
    Thanks a bunch. That's what I eventually found and it worked. I appreciate the post!

  4. #4
    Join Date
    Jun 2008
    Posts
    106
    You're welcome Cheers.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles