Support » Themes and Templates » Absolute URL to jar file fails to be recognized

  • I use the following call to reference an all-in-one jar file that works in several themes. I created a “scripts” directory in my wp-andreas09 theme that resides in the themes root directory, if you will.

    The line in the header looks like this:
    <script language=”javascript” type=”text/javascript” src=””></script>

    Url to the js file is valid and works, and points to the file correctly, yet, when I try to get my theme to recognize it using the call line above, it fails to see the jar file.

    What am I overlooking here?


Viewing 2 replies - 1 through 2 (of 2 total)
  • I use a similar call on several sites.
    `<script type=”text/javascript” src=”/wordpress/wp-content/themes/wp-andreas09/scripts/all-spice.js”>

    This works for me on several differing sites. The absolute url should work, too, though.

    I am not sure what I had wrong, but somehow I must have mistyped something.

    <script language=”javascript” type=”text/javascript” src=”/wordpress/wp-content/themes/wp-andreas09/js/all-spice.js”></script>
    <script language=”javascript” type=”text/javascript” src=”/wordpress/wp-content/themes/wp-andreas09/js/menus.js”></script>
    <script type=”text/javascript” src=”/wordpress/wp-content/themes/wp-andreas09/js/gwscripts.js”></script>

    This is what I am not using. It seems to be working, for the moment LOL

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Absolute URL to jar file fails to be recognized’ is closed to new replies.