View Full Version : expand / collapse stopped working

09-14-2011, 11:47 PM
1) Script Title: ddaccordion

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

3) Describe problem:
We use the have this script expand & collapse part of our left navigation, but just realized that it does not work anymore (not sure why or when it stopped)

Please help This is our home page (http://www.ezcontactsusa.com/) where I see the problem

09-15-2011, 01:06 AM
The jQuery script library is added to the page too late to do the accordion any good:

. . . pan><span class="copyright"><br />
<br />
Copyright 2010 EZContactsUSA.com. All Rights Reserved.</span></div>
<script type="text/javascript" src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'></script>
<script type='text/javascript' src='/images/css/jquery.autocomplete.js'></script>

<script type="text/javascript">
(function($) {
$().ready(function() {

function formatItem(row) {
return row[0] + " (" . . .

Move it to here:

. . . lign="left" valign="top" class="data" height="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<td width="15%" valign="top"><!--
<script type="text/javascript" src="/images/tabs/jquery.min.js"></script>
<script type="text/javascript" src='https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'></script>
<script type="text/javascript" src="/images/tabs/ddaccordion.js"></script>

<script type="text/javascript">

//Initialize 2nd demo:


headerclass: "technology", //Shared CSS class name of headers group
. . .

09-15-2011, 02:29 AM
Thanks so much John :) That's quick