|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors 65816
Join Date: May 2005
|
Nested Javascript Accordion
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?
__________________
Yesterday it worked. Today it is not working. Windows is like that. |
|
|
|
|
|
#2 |
|
macrumors 601
Join Date: Aug 2005
Location: Dayton, OH
|
Do you have a page where you're testing this code that we could see?
|
|
|
|
|
|
#3 | |
|
Thread Starter
macrumors 65816
Join Date: May 2005
|
Quote:
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.
__________________
Yesterday it worked. Today it is not working. Windows is like that. |
|
|
|
|
|
|
#4 |
|
macrumors 601
Join Date: Aug 2005
Location: Dayton, OH
|
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 | |
|
Thread Starter
macrumors 65816
Join Date: May 2005
|
Quote:
__________________
Yesterday it worked. Today it is not working. Windows is like that. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|