PDA

View Full Version : IE Browser Issues with DD Drop Down Panel Script



kdzine
02-15-2011, 09:35 PM
1) Script Title: DD Drop Down Panel

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dddropdownpanel.htm

3) Describe problem: The page where I have this script running is not working in IE. It works fine in FireFox. (http://www.fmi.org/futureconnect/index.cfm?fa=program2) I'm not familiar enough with javascript to correct this problem. I'm getting an "Object doesn't support this property or method" error message.

This code in the jquery.dropdown.Plain.js file is generating the error, Line3, character 5:

1 $(function(){
2
3 $("ul.dropdown li").hover(function(){
4
5 $(this).addClass("hover");
6 $('ul:first',this).slideDown(150);
7
8 }, function(){
9
10 $(this).removeClass("hover");
11 $('ul:first',this).slideUp(150);
12
13 });
14
15 $("ul.dropdown li ul li:has(ul)").find("a:first").append(" » ");
16
17 });

I also have some additional coding on the page that is generating the same error message, Line 211, character 4 :

207 <!--[if IE]>
208 <link rel="stylesheet" href="stylesheets/ieonly.css" type="text/css" media="screen" />
209 <script src="js/jquery.pngFix.pack.js" type="text/javascript"></script>
210 <script type="text/javascript">
211 $(document).ready(function(){
212 $(document).pngFix();
213 });
214 </script>
215 <![endif]-->

I would appreciate any assistance in resolving this issue.

Thanks!