Using vertical nested accordian twice does not work

Two level, smoothly expanding, search engine friendly accordion menu.
Post Reply
kabe_1
Posts: 2
Joined: Fri Sep 12, 2014 3:35 pm

Using vertical nested accordian twice does not work

Post by kabe_1 » Sun Sep 14, 2014 4:23 pm

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

norman
Site Admin
Posts: 1224
Joined: Sat Feb 07, 2004 9:55 pm

Re: Using vertical nested accordian twice does not work

Post by norman » Sun Sep 14, 2014 7:13 pm

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.
Norman

kabe_1
Posts: 2
Joined: Fri Sep 12, 2014 3:35 pm

Re: Using vertical nested accordian twice does not work

Post by kabe_1 » Sun Sep 14, 2014 9:08 pm

Hi Norman
Thanks for putting me straight on that!
I'll see if I can get help with the code elsewhere.
Regards
Kevin

norman
Site Admin
Posts: 1224
Joined: Sat Feb 07, 2004 9:55 pm

Re: Using vertical nested accordian twice does not work

Post by norman » Sun Sep 14, 2014 9:12 pm

Forgot to say. You may get more mileage by using the jQuery UI Accordion Menu. Very modern and continuously updated.

http://jqueryui.com/accordion/
Norman

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest