ThemeShaper Forums » Thematic


Adding javascript to the head

(3 posts)
  • Started 11 years ago by janjan32
  • Latest reply from janjan32
  • This topic is resolved
  1. janjan32

    Sorry for the newbie question, but I'm trying to add javascript to the head tag of my theme, but not really sure how to do it.
    I'm assuming I need to add some code to the functions.php, but really don't know how to go about it. I've been searching around and have found a ton of other cool tips, but not really what I'm looking for. I must be blind right?

    This is the code I want to add to control my menu.

    <script type="text/javascript" src="path/to/jquery.js"></script>
    <script type="text/javascript" src="path/to/jquery.lavalamp.js"></script>
    <!-- Optional -->
    <script type="text/javascript" src="path/to/jquery.easing.js"></script>
    <script type="text/javascript">
        $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700 })});


    Posted 11 years ago #
  2. Hi janjan-

    try taking a look at this thread:


    Posted 11 years ago #
  3. janjan32

    Thanks Gene,
    that helps. I guess I should have searched for jquery scripts. : )

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.