I need to flip the div panel to the left when some div element is clicked and hide as soon as the div element is clicked again. (just like the new Twitter reader).
I tried several methods, but I could not animate it. lately I have determined that this is not going smoothly due to the bad that I did. Increased div divider width and decrese width.
Is there any good suggestion or piece of code to work with me?
Here is the code I used for the animation and gt shows a more readable div panel
$("#more-item").animate({"width": "toggle"}, { duration: 500,specialEasing: {width: 'linear', height: 'easeOutBounce'} });
Here is the script I need to see.
1. clicked on item div
2. more read div panel animate and flip to left and show the
3. click again item div
4. more read div panel animate and flip right and hide
when we are in the third paragraph, if we again click on another div element, just load the contents of the last click of the div and then leave and hide more read div
, , Twitter.
