Site Loading ...

Filed in Main Thursday May 11, 2006

I installed the code for my collapsible sidebar on here… perhaps a bit prematurely… I dunno…

I havent fully tested it yet, but the sidebar seems to work right… evrything with a handle can still be dragged to reorder the sidebar… but now you should be able to collapse each item as well… the contents should drop out and go away on the first click… then fade back in on the second click… blind up and down when you click the little toggle switch to the right of the handle.

the page should then remember both the position that item was in… and if the box was collapsed or not.

 test it out and let me know if it works please.


Filed in Wordpress Stuff Wednesday May 3, 2006

Ok… since Im still working on it… one would expect a few bugs in the sidebar…

The current bug isnt really a bug at all… I havent written the code yet to handle problems created whan I add a new sidebar item and a users cookie doesnt recognise it… this results in big ugly errors in the sidebar.

For now if this happens… scroll down and click on the “Reset order to default” link then refresh…. this will clear the cookie and let it rebuild the sidebar to get rid of errors.


Filed in Wordpress Stuff Tuesday May 2, 2006

So I used a mixture of scripaculous and some original javascript and php to make a section of the sidebar have draggable elements.

 the cool part is that it sets a cookie that remembers where you put everything…

 Im still in the process of making it easy for others to add to their themes… maybe I can figure out how to make it a plugin for WP2.0… we shall see…

(more…)