TabSwitcher (Javascript) in my theme doesn't work (2 posts)

  1. ilovewp
    Posted 8 years ago #

    Dear all,

    I'm trying to add a javascript to my WordPress theme. But for some reason it won't work.

    The piece of code I am trying to insert can be found here: http://homework.nwsnet.de/products/70/

    I added the code according to the description that can be found here: http://codex.wordpress.org/Using_Javascript

    But....no result! It won't run. Standalone the script works perfectly but integrated in the theme it will not work. I also checked the permissions to the script, but changing it doens't make a difference.

    Can anybody help?


  2. ilovewp
    Posted 8 years ago #

    Or does anybody else have a solution to create a thing like TabSwitcher?

    I want to shorten the sidebar by giving a section of it tabs. Underneath those tabs I want to be able to put different types of data like 'latest comments', 'most read' and so on. But I want the page not to reload when users select the tabs. I figured that with (this) Javascript it was the only way to make this possible? A site like Foxnews.com has something like it in the middle of the frontpage.

Topic Closed

This topic has been closed to new replies.

About this Topic