View Full Version : Insert a more small divs in a big div and animate with jquery

07-06-2010, 08:04 AM

I have a problem with a site i want to create, i am experimenting with jquery and i have made some divs (animated in jquery all) and now i want to implement that group of divs in a page. I want all the divs to be invisible and decreased and i want to make a button and when i press that button i want all the small divs appear from that button. So i presume i have to make a bigger div and insert all the small divs inside and when i press the button and i use the jquery script
$("#tb2").click(function() {
$("#t1").animate({ height: 'show', opacity: 'show' }, 'slow');
it should appear.
So how do i stick the divs together?
Pls help. Thanks