Skip to main content
Participant
Apr 16, 2009 5:35 PM UTC
Question

Spry is not defined

I have created a page with SpryAccordion.js using Dreamweaver CS3. The page displays correctly and the accordion animation works when I preview the page, but the accordion animation doesn't work after I upload it to my web server and access the page from the link on my website.

http://www.bolchazy.com/webinars.html

Viewing the page in FireFox and checking with the "Error Console" I get the message "Spry is not defined".

Suggestions?

Thank you
Jody

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

DwFAQ
Participating Frequently
Apr 17, 2009 3:00 AM UTC

Move the following code from the <head> to the <body> of your document.

<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
//-->
</script>

Translate
_V11
Participating Frequently
Apr 16, 2009 5:39 PM UTC

Validate your page, its stuffed with errors

validator.w3.org

You are missing your closing tags for your