Implement the effect of folding and displaying the left menu in the project. This is common in software interfaces (Originally, it’s just a matter of copying a piece of code online. I guess you can write better than me, but to learn, you have to learn. Spirit^^!),
I use .animate() to implement hidden expansion, the code is as follows:
Untitled Document 123
123
If so If it is a subtitle, it will run normally under FF, IE7-8, and chrome. However, the left cannot be hidden under IE6. The reason is that when the default content height and width of IE6 exceeds, the DIV will automatically expand. So as long as you add overflow:hidden to .left{}, the problem will be solved~~
PS: I originally wrote a function to hide the content in .left this morning, but I suddenly figured this out while writing a blog post. The principle, I thought it was a bug in .animate() under IE6