Nested Javascript Accordion

Discussion in 'Web Design and Development' started by monke, Aug 4, 2008.

  1. monke macrumors 65816

    monke

    Joined:
    May 30, 2005
    #1
    I've used the accordion script provided by dezinerfolio.

    I have a left navigation accordion already set up and working.
    I also have a common content container accordion set up and working.

    I want to nest the common content container accordion into the left navigation according, but as soon as I do that the common content tab's won't load the content that they are supposed to.

    Any ideas? :)
     
  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    Do you have a page where you're testing this code that we could see?
     
  3. monke thread starter macrumors 65816

    monke

    Joined:
    May 30, 2005
    #3
    No, I'm working on it locally only.

    I'm using the exact same code as their two demo's (left navigation and common content) except that I changed all of the common content tags so that they wouldn't interfere with the left navigation tags. It worked until I nested it.
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    Unfortunately they have minified their JavaScript so it's very hard to see what might be happening when you combine the two techniques.It may have something to do with naming of classes or ids. The code likely can't tell the difference between the two accordions and so may not be able to play nice.
     
  5. monke thread starter macrumors 65816

    monke

    Joined:
    May 30, 2005
    #5
    Ok, I'll try fiddling around with it a bit and see if anything happens. I just wasn't sure if it was an error I made or not.
     

Share This Page