PDA

View Full Version : accordion-menu-v2.js



aynat_netnof
08-18-2009, 03:24 PM
1) accordion-menu-v2.js

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm

3) Describe problem: Can anyone help me... I've implemented the accordion menu into this website, and it all works perfectly except when each section is closed, it suddenly jumps??

http://www.designworkshop.co.uk/labsolve/labsolveservices.htm

I just can't see what's wrong with the code? (although that's not my strong point!)

Hope someone can help.... thanks

ddadmin
08-19-2009, 07:08 AM
Make sure your page contains a valid doctype (http://www.javascriptkit.com/howto/doctype.shtml) at the very top, for example:


<!DOCTYPE HTML>

aynat_netnof
08-19-2009, 12:35 PM
Thanks for that, it kind of worked, except now it's jumping when the text box expands...

http://www.designworkshop.co.uk/labsolve/whatlabdelivers.htm

ddadmin
08-20-2009, 07:54 AM
Try adjusting the widths of the 3 table columns that make up the layout of your page so all 3 columns comfortably house the contents inside them, especially the right most column. Also for the right most column, adding a "valign="top" attribute might be helpful.