Wicked Cool Sidebar now has memory
Wednesday, September 26th, 2007By: Andrew
So, I knew this could be done. The sidebar now remembers where you put it, and if you left it open or closed. It is a pretty simple trick with JavaScript and cookies that took me about two hours to figure out. The effect will last a day, so if you come back a day later it will go back to the default spot. I could have just left it per visit, but ehh. Anyway, it works and “remembers” between the pages you view. I think that is pretty cool. Not bad for starting with JavaScript yesterday.
Try it out –>
Drag it somewhere and click to a different page. It should stay in the same place.