WordPress.org

Forums

java script code on freshy theme (5 posts)

  1. thesportoflife
    Member
    Posted 8 years ago #

    hey i was wandering if its posible to insert this java script code on the freshy theme
    http://www.dynamicdrive.com/dynamicindex1/staticmenu.htm

    and if so wich bit do i place it in..
    thanks in advance :)

  2. benzin
    Member
    Posted 8 years ago #

    Follow the instructions .. you got it there

    Othervise, i recommend to include scripts this way.
    In your theme/header.php file

    <script type="text/javascript" src="/path/to/thesportoflife/cool.js"></script>

  3. benzin
    Member
    Posted 8 years ago #

    update.. to be really xhtml .. use

    <script type="text/javascript"><!--//--><![CDATA[//><!--

    // Your javascript code here..

    //--><!]]></script>

  4. thesportoflife
    Member
    Posted 8 years ago #

    i placed the code on the footer.php
    right above the </body> tag and its not working, all it does is just show the pic im using on the bottom of the site and it doesnt stay static and scroll :(

  5. lucfeenstra
    Member
    Posted 8 years ago #

    why don't you just put it in the sidebar??
    it's a menu..

Topic Closed

This topic has been closed to new replies.

About this Topic