jQuery and WordPress problems
-
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.
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() { jQuery("div#gallone").slideView({ easeFunc: "easeOutBounce", easeTime: 500 }); }); //--> </script> <script> jQuery(function () { jQuery(".email_someone").click(function () { jQuery("#email_form").slideToggle(500); return false; }); }); //--> </script>
Does anyone have any ideas?
Thanks in advance…!
John
- The topic ‘jQuery and WordPress problems’ is closed to new replies.