The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "SVG" Oct 14 - 6:30 PM Eastern
Get a free trial // Grow your CSS skills // Land your dream job

Jquery slider question

  • # March 3, 2010 at 5:39 pm

    Hey guys, so I used a slider from here, the boxes one,

    You can see it on there. The problem I have is I changed the slider amount to 3 instead of the 5 it was. and i want the "panel 2" to be the one that starts off in the middle, if you’ll notice it starts on panel 3. How can I fix this? I went into the JS file and changed

    // Set up “Current” panel and next and prev
    var curPanel = 3;

    I changed it to #panel_2 but didn’t seem to fix it. Help!? Please, and thanks! :ugeek:

    # March 3, 2010 at 6:05 pm

    Never mine, Solved it just had to change both numbers to 2 and it’s all better. Hope this helps someone else in the future.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed