-
Help with Accordion content script and column height equalization
1) Script Title:
Accordion content script
2) Script URL (on DD):
http://dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:
On this page of my site:
http://www.thedentalimplantclinic.co...ssurgical2.htm
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,
Oli
-
-
No one got any ideas?
Please guys, a bit of help would be really appreciated
-
-
Sorted
I used a different script, but the trick was to put it inside an iframe.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks