[jQuery] jQuery is not working in Wordpress but ONLY for IE
Hello everyone,
I'm at my wits end with this one. I feel like I have over looked some
mundane detail or improperly closed a tag but I can't figure this one
out for the life of me.
I have a site built from Wordpress 2.7 and use jQuery in a variety of
ways (cycle plugin, superfish plugin and a script to create a TOC by
pulling <h3>'s). JQuery is working like a charm in every browser i've
tested EXCEPT the diabolical Internet Explorer. It just plain doesn't
work. I've tried changing "$()" to "jQuery()" and other things along
the same lines, but to no avail. Everything works but IE. Fingers
crossed that someone out there can point out where I screwed up!
the site can currently be seen at http://67.135.99.22 and the head of
the html/php looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>South Jersey Fertility Center</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="http://67.135.99.22/css/
style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="http://67.135.99.22/css/
superfish.css" media="screen" />
<script type="text/javascript" src="http://67.135.99.22/js/
jquery.js"></script>
<script type="text/javascript" src="http://67.135.99.22/js/
jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="http://67.135.99.22/js/
hoverIntent.js"></script>
<script type="text/javascript" src="http://67.135.99.22/js/
superfish.js"></script>
<script type="text/javascript" src="http://67.135.99.22/js/
supersubs.js"></script>
<script type="text/javascript">
var $j = jQuery.noConflict();
jQuery(document).ready(function(){
jQuery("ul.sf-menu").supersubs({
minWidth: 12, // minimum width of sub-menus in em
units
maxWidth: 100, // maximum width of sub-menus in em
units
extraWidth: 2 // extra width can ensure lines don't
sometimes turn over
// due to slight rounding differences
and font-family
}).superfish(); // call supersubs first, then superfish, so
that subs are
// not display:none when measuring. Call
before initialising
// containing tabs for same reason.
jQuery('#brandbox').after('<div id="pager"></div>').cycle({
fx: 'fade',
speed: 5000,
timeout: 8000,
next: '#brandbox',
pause: 1,
pager: '#pager'
});
jQuery('#news_scroll').cycle({
fx: 'scrollVert',
timeout: 5000,
speed: 1500,
pause: 1,
next: '#next',
prev: '#prev',
});
});
</script>
<?php $mainnav = wp_list_pages
("depth=3&exclude=138,54,44&title_li=&echo=0");
$mainnav_patient = wp_list_pages
("depth=1"."title_li=&child_of=44&echo=0&title_li="); ?>
</head>