WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] can't get javascripts to work (3 posts)

  1. ayyaiyai
    Member
    Posted 4 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?

  2. Durgé Seerden
    Member
    Posted 4 years ago #

    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

  3. ayyaiyai
    Member
    Posted 4 years ago #

    That did it, thank you so much!!!

Topic Closed

This topic has been closed to new replies.

About this Topic