Question : Javascript compatibility issue with IE7

Fairly new to Javascript, so bear with me if there is an easy solution to this question. I am using Wordpress and an Accordion Menu in sidebar, in Firefox and IE8 it works wonderfully, IE7 throws an error and 'blocks' the body so nothing is selectable or clickable. Attached is the script I am running.

Any ideas?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
<!--[if LTE IE 6]>

<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie6.css" type="text/css" media="screen, projector" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.supersleight.min.js"></script>

<script type="text/javascript">

	$('#controls').supersleight( {shim: '<?php bloginfo('template_url') ?>/images/x.gif'} );

	$('.featured-article').supersleight( {shim: '<?php bloginfo('template_url') ?>/images/x.gif'} );

</script>

<![endif]-->

<!-- for product accordion -->

<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_url'); ?>/css/accordian.css" />

<script src="<?php bloginfo('template_url'); ?>/js/jquery1.2.3.js" type="text/javascript"></script>

<script src="<?php bloginfo('template_url'); ?>/js/jquery_002.js" type="text/javascript"></script>

<!-- end product accordion -->

Answer : Javascript compatibility issue with IE7

@dhansmani adding the language="javascript" has absolutely no bearing on the issue. It is a relic from IE4 and Netscape browsers. All modern browsers understand type="text/javascript" and most of them do not even care if there is no attribute on the script tag if the server sends the correct mime headers. Please do not confuse the asker even more.

@pbunn: The snippet you posted is impossible to judge since it is only executable on your server. My guess is that you should move the jquery script tags to the top or try taking out the supersleight first to see if there is a conflict on the jquery versions
Random Solutions  
 
programming4us programming4us