IE6 and 7 return a js error “expected identifier, string or number” on this :
function fadeopacity (){
var opacity = $("#pics_list > li:first").css("opacity");
$("#pics_list > li").hover(
function () {
$(this).stop().animate({
opacity: 1,
}, 300, null)},
->this is the line with an error?
function () {
$(this).stop().animate({
opacity: opacity,
}, 200, null)}
)
}
which blocks all the page’s scripts,
this doesn’t happen in IE8, and of course in every other browser out there
I believe you’re getting errors on these lines:
Trailing commas tend to make IE angry 🙂
When you put the first on a single line it gets more apparent, like this:
Just remove the trailing comma in each place and see if you get any complaints then.