Auto adjust the height of a FancyBox pop up when the content changes?

Tidal

New Member
When user clicks on the options then fancybox pops up having all the options.and when user clicks on any of the listed option,then content related to that option apperes on the same pop up but the fancybox pop up never strechtes(auto adjusting the height and width) around the new div content.Plz help\[code\]<div class="modelbox" id="#options">Options</div> //when user clicks here a fance box appeares with few options,say three. <div style="display:none" id="options"> <p onclick="$("#option1div").show()" >option 1</p> //when user clicks anyone one of these option.then the belov div opens on the fancy form. **problem is that.div opens but with the scrollbars and hight of the fancebox pop up form neve adjusted acorting to the new div content. help plz** <p onclick="$("#option2div").show()">option 2</p> <p onclick="$("#option3div").show()">option 3</p> <div> <div style="display:none" id="option1div"> large data here</div> <div style="display:none" id="option2div"> large data here</div> <div style="display:none" id="option3div"> large data here</div>\[/code\]
 
Back
Top