|
I'm pretty happy with the category tree I set up for my blog, but it's going to get longer, just like the by month archives. So I went and made all this stuff collapsible. I use some client side scripting to make the ul containers visible or invisible, which seems to be working out. I like it, anyway.
But ... this all runs in the browser, so it doesn't hold state. Collapse and expand things to your taste, go to a different page, and it resets to how I defaulted it. It would be great if I could make all the sidebar items remember how users leave them.
I'm a lot better in asp than php, and I haven't done that much wordpress hacking. Anybody have any ideas how I might go about this, working within the framework of wp? I can set the cookies using javascript no problem ... I can even read them and set the right state for the collapsible regions after the document loads ... but I'd really like to set that on the server side, so people don't get flicker when they navigate around my blog.
|