• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dated code issues

New Here ,
Jan 13, 2019 Jan 13, 2019

Copy link to clipboard

Copied

http://www.bugorama.com/test

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

Views

220

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jan 13, 2019 Jan 13, 2019

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>

...

Votes

Translate

Translate
LEGEND ,
Jan 13, 2019 Jan 13, 2019

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">

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 13, 2019 Jan 13, 2019

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 13, 2019 Jan 13, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines