I'm trying to do a pretty basic thing I guess, but can't seem to figure out how.
var slider1=new accordion.slider("slider1");
slider1.init("slider", 0, "open");
It's the second parameter in the slider1.init function that tells which menu to open in the accordion. So basically what I would do is to create a function, that finds the parent, count through the menus and return the correct number.
Any help is really appreciated.