WordPress.org

Ready to get started?Download WordPress

Forums

Placing JavaScript on EACH page and not just the b (3 posts)

  1. reevo
    Member
    Posted 9 years ago #

    Hi all
    Just noticed that my web space error log is throwing out errors due to individual pages looking for a javascript. Now, the script works fin on the main index page but not on each individual page.
    The script is for fading links called fader.js
    So, my question is this...Can I add script type="text/javascript" src="fader.js"></script to anywhere else so that it appears in each individual post?
    Is it appropriate to do so or am I best off without the js?
    Thanks for looking in.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Is the js called in the <head> section of your index ?
    That's the best place..

  3. reevo
    Member
    Posted 9 years ago #

    Podz
    Yup, that's where it already is and like I said, it works on the main page but not the individual pages.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.