Results 1 to 10 of 10
May 25, 2010, 05:39 #1
- Join Date
- Mar 2004
- U.K (Wales)
- 0 Post(s)
- 0 Thread(s)
#page div not expanding to fit content using jquery local scroll
Hi, I'm using the localscroll jquery plugin to scroll through content in a div by using an unorder list navigation. I have the containing div (#page) set at a certain height and the overflow set to hidden.. the problem I'm having is I want the #page div to be elastic so that it grows and shrinks to fit the child div it scrolls to..
you can view the scroll plugin in use here:
its activated using the product list nav toward the bottom of the page on the left.
How would I set it up so that the #page div shrinks or grows to contain the full visable size of the child div (.scroll1, .scroll2, .scroll3, scroll4 etc)