jQuery Superfish Dropdown Menu IE Error

oonon
oonon used Ask the Experts™
on
I'm trying to use the Superfish dropdown menu on a website (which you can find here: http://users.tpg.com.au/j_birch/plugins/superfish/).

However, in Internet Explorer 6, 7 and 8 I get this error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; OfficeLiveConnector.1.4; OfficeLivePatch.0.0; .NET CLR 3.0.30729)

Timestamp: Fri, 29 Jan 2010 12:57:17 UTC
Message: Object doesn't support this property or method
Line: 73
Char: 4
Code: 0

This line in question is below. I'm pretty new to jQuery and javascript and appreciate the help!
72		jQuery(function(){
73			jQuery('ul.sf-menu').superfish();
74		});

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
HainKurtSr. System Analyst

Commented:
did you include jquery, it should come before your this code...
HainKurtSr. System Analyst

Commented:
post your html code... or give us a test url

Author

Commented:
the test url is http://eps-test.com/
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

HainKurtSr. System Analyst

Commented:
insetad of use code below


// initialise plugins
jQuery(function(){
  jQuery('ul.sf-menu').superfish();
});

-->

$(document).ready(function() { 
  $('ul.sf-menu').superfish(); 
}); 

Open in new window

Author

Commented:
Thanks, but that code brings up the same error.
oonon, the problem is the references to jQuery, hoverIntent and superfish JS files.  If you use Firebug with Firefox, and view the NET tab - you will see resources that did not load.  The very vague "Object" error in IE means that .superfish() is not a valid method, because the script has not loaded.

Fix the references and I'm sure it will work.

TheFoot
You are also include jQuery twice:

js/jquery-1.2.6.min.js

and from the google CDN:

http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

.. that cant be good!  At the very least an unnecessary performance hit..

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial