PDA

View Full Version : Accordian Drop-down not expanding/contracting.. help?



pencil2print
10-16-2009, 03:12 PM
1) Script Title: Arrow Side Menu

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

3) Describe problem:

The headers are not dropping down/contracting as its supposed to. I've made changes, such as colors and image change, as well as adding links. I might've messed up somewhere along the line, and after comparing codes, I cannot find the issue. I've provided a link to the website I am working on so you can see.

http://warrenvillerailroad.com/index3

there's the accordian menu, and you can see its all open. I cannot close or open it. You can view the source to help me solve this issue.

please and thank you!

~Karen

ddadmin
10-16-2009, 08:23 PM
Looking at just the page (http://warrenvillerailroad.com/linksframe.html) containing the menu, the reference to the .js file inside it is broken:


<script type="text/javascript" src="ddaccordion.js">

/***********************************************
* Accordion Content script- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/

</script>

You need to fix the path in red below so it references the .js file on your server correctly.

pencil2print
10-16-2009, 09:02 PM
Thank you! I didn't realize I had to also upload the given .js file that was on the page the site provided.

Hopefully I can work out the rest of the issues now I got that out of the way.