Forum Post: RE: collapsing a section

  • Thread starter Thread starter matman
  • Start date Start date
Status
Not open for further replies.
M

matman

Guest
Hi Otenzio, please try the following code: $(function() { var sectionID = rbf_getSectionIdByTitle("test"); rbf_setSectionCollapse(sectionID, true); }); Your current code is executed as soon as possible, which means that the section you try to collapse probably doesn't exist yet. The code above is a JQuery function, this one will run after the page (and your section) have been loaded.

Continue reading...
 
Status
Not open for further replies.
Back
Top