I have been trying to get jQuery to work in the latest version of WP but have had not luck at all.
Here is a simple example of a script that will not work.
<script type="text/javascript" src="<?php echo get_bloginfo('template_directory'); ?>/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(
function(){
jQuery("#portfolio").mouseover(function () {
jQuery("#portfolio").fadeTo("slow", .8);
});
jQuery("#portfolio").mouseout(function () {
jQuery("#portfolio").fadeTo("slow", 1);
});
});
</script>
I have tried everything, including reinstalling WP. Nothing will work. I have no problem with my scripts working on normal HTML pages but none of them will work through WP. Any help would be greatly appreciated.
Thanks!