Hmm your set up at a glance looks correct. The only thing that could be interfering with the default expanded setting is your enabling of persistence inside the initialization code. That, plus the default expanded setting being commented out at the moment (perhaps intentional on your part). With that said, try the following initialization code:
Code:
var bobexample=new switchcontent("helpcont", "div") //Limit scanning of switch contents to just "div" elements
//bobexample.setStatus('<img src="/css/i/openy.png" /> ', '<img src="/css/i/closy.png" /> ')
bobexample.setColor('#ff6600', '#4d4d4d')
bobexample.setPersist(false)
bobexample.collapsePrevious(true) //Only one content open at any given time
bobexample.defaultExpanded(0) // set first content to be expanded by default
bobexample.init()
Bookmarks