Javascript include doesnt work (2 posts)

  1. Sumit1988
    Posted 7 years ago #

    Hi guys

    I want to make my Sidebar tabbed. No i don't want to use the Tabbed-Widget Plugin (or another) cause these are not very customizable and a little bugy. What ever here it is:
    I just used a javascript tabbed content script. On my machine with a simple index.html it works fine. But if i try to inlcude it into the index/page/single.php in my Theme it won't work...

    i included the code, and the css, and the javascript. THe Script is in an external file. I included the .js with
    <script type="text/javascript" src="tabcontent.js"></script>
    i tried also full path. i tried including it into the header and right over the Tabs-HTML-code. HTML and css is working but the javascript isn't working at all in wp... how can i get this to work?

  2. Sumit1988
    Posted 7 years ago #

    let me ask in an other way:

    - is it a "fault" of wp / including it?
    - how can i get the .js to work?
    - is it just not possible?

Topic Closed

This topic has been closed to new replies.

About this Topic