You can´t see me!

Categories

Del.icio.us

  • Nothing to see here.
Get Firefox!

Sunday 13th of February 2005

It can be toggled now too!

Continuing my previous endeavors with the almighty sidebar, I played around into the unknown lands of JavaScript (to me, at least) and managed to get the sidebar panels to show/hide upon clicking on the header of each of the panels. If you like, you can see the pertinent JavaScript here.

I tried using images that would toggle with it, a minus and plus widget, but I didn’t like how it looked in the end, so out they went. It seems to degrade alright too, panels just display expanded when you turn off JavaScript.

It is persistant! -if you do happen to have cookies enabled, it will save one with the position of the panels, so next time you come read some more of my blasphemy, the panels will be just like you left them last time you were around.

And.. that’s all it does for now. Maybe next upgrade I can get it to make butter toasts.

No comments to “It can be toggled now too!”

There are no comments yet.

Leave a comment