View Full Version : jQuery Multi Level CSS Menu #2 -- slide show sliding too quickly??

10-07-2011, 08:07 AM
1) Script Title: jQuery Multi Level CSS Menu #2

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_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-content/themes/StoneWood/js/jqueryslidemenu/jqueryslidemenu.js

i think it's this bit:

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

10-07-2011, 10:35 AM
I think it's the stepcarousel you need to adjust. Try changing the milliseconds(highlighted) in the piece of code shown beneath:

<script type="text/javascript">

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']


10-07-2011, 08:17 PM
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.

10-07-2011, 09:52 PM
I see it on the main page(index.php) and not in a js file.
go here (http://www.justdustpublishers.com/) and view the sourcecode. You will find it around line 40

10-08-2011, 01:05 AM
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!!