PDA

View Full Version : First Panel To Load - Coda Slider



georgiadogs
Jan 12th, 2010, 08:34 PM
First, here's the URL of the site I'm working on:

http://www.georgiadogs.com/fls/8800/meetcentral2010/

Each week, I'd like to be able to have that page load a different tab/panel onload according to who the opponent is that week. For example: this week I want the second tab, Alabama, to load first. I'm using one of the many iterations of the coda slider script (see coda-slider.js (http://www.georgiadogs.com/fls/8800/meetcentral2010/js/coda-slider.js)). However, I can't seem to get it to cooperate. I found a solution for a similar coda slider, but it won't match with the one I'm using (because the naming conventions for the "panels" are not the same I assume). Here's what that solution was:



$().ready(function() {
$('#coda-slider-6').codaSlider({
crossLinking: false,
firstPanelToLoad: 3
});
});


Anyone got any ideas? It doesn't matter to me if the panel just loads from the get-go, or if it loads the first one and then automatically slides to the one I want. Thanks for the help!

georgiadogs
Jan 14th, 2010, 04:06 PM
I've tried implementing a completely different coda slider, but it's just blowing up my original setup. If anyone has any ideas for this, I'd appreciate it!