Linking Javascript in Header Not Working

  • Author
    Posts
  • #35185

    leseeley
    Member

    So I’m trying to implement a navigation bar similar to the one on http://www.podtropolis.com and have been successful, except when I try to implement it on my wordpress blog. I was able to implement it here (http://lukees.com/transports/dev2/), but when I try the same thing in my wordpress blog it doesn’t work.

    Here’s the beginning of the code in my <head>:

    <head profile=”http://gmpg.org/xfn/11″>

    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/sorttable.js”></script>
    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/prototype.lite.js”></script>
    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/moo.fx.js”></script>
    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/rating.js”></script>
    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/moo.fx.pack.js”></script>
    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/stretcher.js”></script>
    <script type=”text/javascript” src=”www.lukees.com/wp-includes/js/png.js”></script>

    All those files are where they should be, you can view them yourselves. However, this doesn’t appear to work…the navigation bar appears, but as a static bunch of lists, not the dynamically expanding ones seen on http://lukees.com/transports/dev2/.

    What’s the deal?

    #35303

    raincoaster
    Member

    Javascript does not work at WordPress. Javascript has never worked at WordPress. Search the forums for a billion threads about this: it’s a security risk that the techies here don’t feel comfortable exposing people to.

    #35607

    drmike
    Member

    You’re also at the wrong site. You need to be over at http://wordpress.org as your blog is not hosted here at wp.com and, therefore, running different software than we are here.

The topic ‘Linking Javascript in Header Not Working’ is closed to new replies.