Copy link to clipboard
Copied
I know spry is WAY outdated but helping an old client update his website originally created in 2011.
I am working on the events page and the third accordian set loads with all tabs open for some reason. I have poured over the code looking for what I am sure is a simple mistake or typo... but simply at a loss. Any help pinpointing this would be a huge help!
Thank you,
Matt
You have declared the id="Accordion3" twice on the page.
'Event 2' heading -
(5/26/19 - Sacramento Raceway<br />Sacramento, CA)
- should be id="Accordion2" NOT as below id="Accordion3"
<a name="event2"></a>
<a href="http://www.cbperformance.com/" target="_blank"><img style="vertical-align: text-top;" src="graphics/sponsors_200/cbperformance200.png" width="200" align="right" alt="CB Performance" /></a>
<p><strong><font size="+1">5/26/19 - Sacramento Raceway<br />Sacramento, CA</font></strong></p>
...Copy link to clipboard
Copied
You have declared the id="Accordion3" twice on the page.
'Event 2' heading -
(5/26/19 - Sacramento Raceway<br />Sacramento, CA)
- should be id="Accordion2" NOT as below id="Accordion3"
<a name="event2"></a>
<a href="http://www.cbperformance.com/" target="_blank"><img style="vertical-align: text-top;" src="graphics/sponsors_200/cbperformance200.png" width="200" align="right" alt="CB Performance" /></a>
<p><strong><font size="+1">5/26/19 - Sacramento Raceway<br />Sacramento, CA</font></strong></p>
<div id="Accordion3" class="Accordion">
Copy link to clipboard
Copied
Thank you!!! I must have read over that 100 times and never noticed it. They really need a new site but not in the budget. Trying to make this code from 2011 work, and it was dated then already.
Copy link to clipboard
Copied
matthews23375036 wrote
Thank you!!! I must have read over that 100 times and never noticed it. They really need a new site but not in the budget. Trying to make this code from 2011 work, and it was dated then already.
No worries, I know what it's like. Everythings great when a website is initially launched then gradually over the years more gets added or taken away, things in the code get commented out because it seems like the most logical or quickest to do at the time and it all decends into a bit of a mangled mess after about 3-4 years, ready for the dustbin BUT on the surface it still works, to a degree, so what's the problem, as far as the client is concerned its just fine.