ayyaiyai
Member
Posted 3 years ago #
Hi,
Is there something I have to enable on wordpress to get javascript to work? I have this accordian that I want to use
-> http://www.breakingbeta.com/test/test.html
but it doesn't take in my sidebar
-> http://www.breakingbeta.com/blog/
I'm current using an adobe spry script, but I tried this also with a jquery one. Neither work, suggestions?
Try to use the full url to your js file. The wordpress index will not be in the theme folder it so it wont find your file.
So use something similar to this:
http://www.breakingbeta.com/wp-content/themes/nameOfTheme/SpryAssets/SpryAccordion.js
I hope this will solve the problem.
Greetz,
Durgé
Dimics.com
ayyaiyai
Member
Posted 3 years ago #
That did it, thank you so much!!!