var joeexample=new switchcontent("switchcontent", "dd") joeexample.setStatus('[hide description] ', '[show description] ') joeexample.setColor('#000', '#000') joeexample.collapsePrevious(true) //Allow more than 1 content to be open simultanously joeexample.setPersist(false) joeexample.defaultExpanded(0,1) //1st and 2nd contents within group should be expanded by default joeexample.init()