Page 1 of 1

Using vertical nested accordian twice does not work

Posted: Sun Sep 14, 2014 4:23 pm
by kabe_1
Hi
Hoping someone is watching the forum!

I wish to use the vertical nested accordian more than once on the same page, but the result with the default code is that IE does not handle the second instance of the vertical nested container, and disables the toggle function.

When I replace the default head script to remove reference to the horizontal nested which I do not use, the menus 'bounce' in both IE and Firefox.
It can be seen here.
http://www.arterego.co/index_DEV_testJS.html

I am looking for advice on how to modify the initiation code in the head so that the page opens with the first level accordian open only.
This is seen here,
http://www.arterego.co/index5.html
and all browsers except IE display impeccably as required. The errant behavour can be seen with IE10/11


Any help really appreciated thanks.
Kevin Abraham

Re: Using vertical nested accordian twice does not work

Posted: Sun Sep 14, 2014 7:13 pm
by norman
Hi, Kevin

I'm afraid you're on the wrong forum. This one is for a SellerDeck (e-commerce package) specific version of ddAccordion from http://www.dynamicdrive.com.

The one you are using is from (the no longer existing) http://www.stickmanlabs.com. See the comments from the JS file:

// accordion.js v2.0
//
// Copyright (c) 2007 stickmanlabs
// Author: Kevin P Miller | http://www.stickmanlabs.com

P.S. I Don't think 7 year old code will work well in modern browsers.

Re: Using vertical nested accordian twice does not work

Posted: Sun Sep 14, 2014 9:08 pm
by kabe_1
Hi Norman
Thanks for putting me straight on that!
I'll see if I can get help with the code elsewhere.
Regards
Kevin

Re: Using vertical nested accordian twice does not work

Posted: Sun Sep 14, 2014 9:12 pm
by norman
Forgot to say. You may get more mileage by using the jQuery UI Accordion Menu. Very modern and continuously updated.

http://jqueryui.com/accordion/