Code: Select all
if (navigator.userAgent.toLowerCase().indexOf('msie 6')!=-1){
$("#pdfPopup img[@src$=png]").pngfix();
$("#pdfPopup .sidebar ul").css({
background: "none",
filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+urlRoot+"/images/BKGmodelsBox_grad.png', sizingMethod='scale')"
});
}Everything works fine in Firefox, Opera, IE6 and Chrome.
The problem appears only in IE7 and IE8.
JavaScript stops executing somewhere after the second line, and the browser reports an error in .js file on that line...
Somebody please help....