Forums

jQuery? (3 posts)

  1. spiralingbob
    Member
    Posted 2 years ago #

    Hi everyone,

    I am trying to use a jQuery script to allow customizable scroll bars on my site. I can not get it to work! I tried the script in a regular HTML page, and it works fine. But when I try to implement in WordPress, it doesn't work at all. Here is the code I use in my HTML, in the "head" section:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Does anyone have any ideas on what I can do to make this work in WordPress? I've been reading countless articles about JQuery and WordPress, and I can't seem to grasp it. Apparently, WordPress already comes with JQuery included, and you have to call for the scripts in a different way?

    Maybe someone can walk me through this, and tell me where and what to insert in my header.php file? And maybe also tell me if I need to upload my .js files to a specific place?

    Thanks!

    The URL of my site-in-progress is http://www.bobhartmusic.com/arrow

  2. Saraswati11
    Member
    Posted 2 years ago #

    Hi,

    I see you got that to work? Anyway you can explain how you do it. I can figure it out for the life of me.

    Thanks

  3. veganist
    Member
    Posted 1 year ago #

    Check http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/

    Your problem is not jScrollPane, but only the way you call jQuery functions in WP.

Topic Closed

This topic has been closed to new replies.

About this Topic