• I am new and have added wordpress to the site i am doing for a friend, but for some reason the menu i created doesnt show on the site. http://www.sionbebb.co.uk/develop/blog
    You can see it there on the top black bar and if you run the cursor over it, it shows up, but doesnt when the page loads…. any ideas, as this is driving me bonkers! Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • On your friend’s main page, http://www.sionbebb.co.uk, the menus work because the HTML source includes lines like this:

    <script type="text/javascript" language="javascript1.2" src="menu.js"></script>

    A similar line (or lines) needs to be added to the Theme you are using for the WordPress blog, in order to use the same JavaScript menu system. The best place to put it is header.php or footer.php.

    Also, since the script tag points to the JavaScript file 9such as menu.js in the above example), you will need to change it slightly, using something like this:

    src=http://www.sionbebb.co.uk/menu.js

    (so that the browser can find the correct location).

    Good luck!

    Thread Starter rosullivan

    (@rosullivan)

    Hi thanks for that, but the menu shows, but if you would like to look: http://www.sionbebb.co.uk/develop/blog/

    I have tried the code in both the header and the footer, it shows, but you have to role over it to make it work? Any ideas? Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript menu not showing’ is closed to new replies.