View Full Version : Accordion Content script Help Needed

09-21-2008, 09:51 PM
1) Script Title: Accordion Content script

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

3) Describe problem: No problem, the script works great
just want to have an extra feature
I'm using the second example with Dogs
I want to be able to use active links to other pages after the header Dogs

I hope I dont confuse anyone
heres an example:
Dogs: toys, playgrounds, leashes
Dogs would open and close the accordion like its supposed to
toys, playgrounds, leashes would each be separate active links going to there own web pages

if this is possible please help me with it


09-22-2008, 05:00 AM
Are you basically asking how to create headers that merely act as links instead of accordion headers? If so, why not just manually add them to your HTML, for example:

<h3 class="mypets">Dogs</h3>
<div class="thepet">
doggy content here...

<h3 class="regularheader"><a href="#">Toys</a></h3>

<h3 class="regularheader"><a href="#">playgrounds</a></h3>

09-22-2008, 07:33 AM
I want it like that but also linkable

<h3 class="mypets">Dogs:</h3><a href="http://www.mysite.com/toys">Toys</a>
<div class="thepet">
doggy content here...

I saw this adobe page that was similar to what I want
I want it the way it lists the products going across like acrobat, coldfusion, etc...