View Full Version : Help with Accordion content script and column height equalization

08-01-2008, 07:06 PM
1) Script Title:

Accordion content script

2) Script URL (on DD):


3) Describe problem:

On this page of my site:

I am trying to use the Accordion content script to show/hide information. However, I also use a javascript routine (nifty corners cube) to equalize the height of my main column and left column.

With the script as standard, the main columns length increases but the left column does not, so I added:

onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
Nifty("div#leftnav,div#maincol","none same-height");


However, this means that now every time I open/close an item the page gets longer.

Any ideas?
Help would be greatly appreciated (I'm a 14 year old webmaster looking to finish updates on my site this summer)

Thanks in advance,

08-04-2008, 07:36 AM
Please guys, a bit of help would be really appreciated

08-22-2008, 03:30 PM
I used a different script, but the trick was to put it inside an iframe.