• Hi,
    I was wondering how to insert <script type=”text/JavaScript”> correctly in wordpress child theme.

    I was pasting the code into new style.css by using notepad++ and the format looks like as below. However, it doesn’t work. Could someone take a look? Thank you very much!

    /*
    <script type=”text/JavaScript”>
    //courtesy of BoogieJack.com
    function killCopy(e){
    return false
    }
    function reEnable(){
    return true
    }
    document.onselectstart=new Function (“return false”)
    if (window.sidebar){
    document.onmousedown=killCopy
    document.onclick=reEnable
    }
    </script>
    */

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JavaScript in Child Theme’ is closed to new replies.