www.webdeveloper.com
Results 1 to 2 of 2

Thread: Please help me with a javascript algorythm

  1. #1
    Join Date
    Jul 2014
    Posts
    1

    Please help me with a javascript algorythm

    Hi everybody, greetings from Barcelona. I hope you can help me with this problem I got.

    I found a css template I am trying to use for a school project. I found it in csstemplatesmarket.com, specifically:

    http://csstemplatesmarket.com/freecsstemplates/adaria/

    It has an image slider I would like to slow down a little bit (it actually takes about 4 seconds), but the algorythm is SO complex for me that i dont know where to find the duration of each image to modify the parameter.

    Can you help me?

  2. #2
    Join Date
    Oct 2013
    Posts
    609
    A very quick scan of the source of the demo page yields this:
    Code:
    <script type="text/javascript">
    $(document).ready(function(){
    	$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
    });
    </script>
    5000 might be the duration in milliseconds of each slide. Change to 6000, or 8000, or whatever and see what happens.

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