• 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?

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter ilovewp

    (@ilovewp)

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘TabSwitcher (Javascript) in my theme doesn’t work’ is closed to new replies.