Details

I have a main sliding panel (MAINSP) that holds various sliding panels inside it's panels. (example: MAINSP holds SUBSP1 on panel 1, SUBSP2 on panel 2) Thing is, each panel i have has different lengths of content, and i need the main spry widget to re-adjust its height automatically to the current SUBSP's panel. I tried putting all heights to auto but the widget assumes the longest panel's height and the rest of the subsp stays with that height no matter how short the current panel's content is. I tried assining id's to each panel and giving them with css a fixed height but it didnt work. I recently saw an implementation of the SpryDOMUtils.js for the menubar to detect when it is on its target and assume a css style, its in another cookbook. So im thinking i can use the same technology for the sliding panels container to detect wich panel is the current panel and assume its id's set height.I just dont know how i would write that in the js.

Use the RSS button to subscribe to comments for this request.

close this
Interested in seeing a response to this question? Vote for it!
Vote (2 votes)
Report abuse

Related recipes