adding default-toggle for serendipity_event_sidebarhider
Posted: Tue Sep 09, 2008 10:28 pm
Hi
I wanted to use the serendipity_event_sidebarhider, but it's more like I want to have the opportunity - the sidebars should not be hidden at default. As far as I've seen there is no option for this and I found no workaround.
Regarding the code I think that the lines 88-89 of sidebarhider.js are the problem - maybe it is possible to execute these lines only if a separate option is selected (the other way around would be alright, too)?
For myself, I can comment them out (think so, haven't tested it yet online - maybe it would cause problems?), but this may be a good option in general.
I wanted to use the serendipity_event_sidebarhider, but it's more like I want to have the opportunity - the sidebars should not be hidden at default. As far as I've seen there is no option for this and I found no workaround.
Regarding the code I think that the lines 88-89 of sidebarhider.js are the problem - maybe it is possible to execute these lines only if a separate option is selected (the other way around would be alright, too)?
For myself, I can comment them out (think so, haven't tested it yet online - maybe it would cause problems?), but this may be a good option in general.