Results 1 to 5 of 5

Thread: jQuery Multi Level CSS Menu #2 -- slide show sliding too quickly??

  1. #1
    Join Date
    Oct 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default jQuery Multi Level CSS Menu #2 -- slide show sliding too quickly??

    1) Script Title: jQuery Multi Level CSS Menu #2

    2) Script URL (on DD): http://www.dynamicdrive.com/style/cs...el_css_menu_2/

    3) Describe problem: This script is used as part of a WordPress theme i used for a friend's website. it creates a "slide show" of featured posts. the box is filled with one post at a time and then regularly slides sideways to show the next featured post.

    We would like (very much) for this slide effect to slow down, it slides far too frequently. we'd like to increase the duration which a featured post is shown before the slide effect shows the next.

    the website is this: http://www.justdustpublishers.com
    the slide show is at the top of each page.

    the js file i'm looking at is this: http://www.justdustpublishers.com/wp...ryslidemenu.js

    i think it's this bit:
    Code:
    animateduration: {over: 200, out: 100},
    but i've fiddled with it and it has no noticeable effect (that i've seen)

    any help would be appreciated! thanks

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    I think it's the stepcarousel you need to adjust. Try changing the milliseconds(highlighted) in the piece of code shown beneath:
    Code:
    <script type="text/javascript">
    
    stepcarousel.setup({
    	galleryid: 'board_carusel', //id of carousel DIV
    	beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs
    	panelclass: 'board_item', //class of panel DIVs each holding content
    	autostep: {enable:true, moveby:1, pause:9000},
    	panelbehavior: {speed:500, wraparound:false, persist:false},
    	defaultbuttons: {enable: false, moveby: 1, leftnav: ['http://i34.tinypic.com/317e0s5.gif', -5, 80], rightnav: ['http://i38.tinypic.com/33o7di8.gif', -20, 80]},
    	statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels
    	contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file']
    })
    
    </script>

  3. #3
    Join Date
    Oct 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    that certainly looks like it would do the trick. i can't find it though X[ what file is that code from? the js file i'm looking at does not have that in it.

  4. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    I see it on the main page(index.php) and not in a js file.
    go here and view the sourcecode. You will find it around line 40

  5. #5
    Join Date
    Oct 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    fantastic! the wordpress theme actually had a bit of php in place of that variable but i replaced it and now it's perfect. thanks!!

Bookmarks

Posting Permissions

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