Collapsable Modules... make them remember! :)
Hey everyone, I am currently working on adding my own little collapsable modules into vbulletin. (On VBAdvanced Pages). Now, with the custom coding, my question is, why do they not remember the status that they were previously at? Ie. opened or closed? Any of the other ones like user stats, or whos online will be "remembered" and display accordingly dependant on a users return. I have no problem editing files, so can someone point me in the right direction as to what I need to edit to get it to remember the status of the modules?
Note: I looked through vbulletin/client/vbulletin_global.js at toggle_collapse(); and it seems everything is done just through the object variable passed through it, so what would be the cause of it not being remembered?
|