Support » Fixing WordPress » jQuery and WordPress problems

  • Resolved SpankMarvin


    I am going round in circles with this, very frustrating.

    So, I am trying to implement several jQuery functions into my WordPress site. I don’t know much about jQuery, but have been able to use a couple of scripts in non-WP sites with no problems.

    Here is my test page.

    I have a nicely working “Email this” revealer (see bottom of the test page). No problems there.

    However, I have so far been unable to get any other jQuery scripts to work — case in point being the slideviewer plugin which, in the test, seems to load fine but does not do anything! I have searched around and have tried the noconflict script to no avail. I simply cannot think what is wrong, given some jQuery clearly seems to be working. I cannot help but think it has to be something WP related.

    Here is the pertinent code from my header.php file:

    <script src="/wp/wp-content/themes/ia_4/js/jquery1.3.1.js" type="text/javascript"></script>
    		<script src="/wp/wp-content/themes/ia_4/js/jqueryeasing.js" type="text/javascript"></script>
    		<script src="/wp/wp-content/themes/ia_4/js/slideviewer.js" type="text/javascript"></script>
    		<script src="/wp/wp-content/themes/ia_4/js/menuscript.js" type="text/javascript"></script>
    <script type="text/javascript">
        jQuery(window).bind("load", function() {
            easeFunc: "easeOutBounce",
            easeTime: 500
        jQuery(function () {
            jQuery(".email_someone").click(function () {
                return false;

    Does anyone have any ideas?

    Thanks in advance…!


Viewing 2 replies - 1 through 2 (of 2 total)
  • If this is the slideViewer you are using I notice that ‘slideViewer requires jQuery 1.2.1… to work’ and you appear to be loading jQuery 1.3.1. You may have version troubles.

    You are missing a ‘text/javascript’ in one of your script tags.

    Absolutely right. I just replaced the jquery version with 1.2.1 and it works. Thanks so much!
    Not sure whether this means I’ll use the slideViewer as my solution but this is an incredible help as it means I’m not basically doing anything wrong.

    Thanks also for noting the script type omission!


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jQuery and WordPress problems’ is closed to new replies.