I want to develop a screen with JQuery Tools(or just with JQuery) and HTML5. There will be a main panel at screen and it will have rounded square buttons on it. When user clicks a button this panel will get smaller and will be place at left side, something will appear at right side.
I mean:

Squares inside of big squares symbolizes buttons. When a user click a button at 1, panel will get smaller and go to left as like 2.
I may use that: JQuery Tools
Looks like I found some time after all. Seems to work for me in Chrome 15, so will probably work in other webkit-based browsers as well. It’s only a starting point so the cross-browser code needs some attention.
Edit: Updated demo which uses the shrinkTo jQuery plugin
HTML
CSS
JavaScript