I just discovered that when I run my page in IE 7 - 10, this little function is killing the rest of my javascript file. Any thoughts??
if(window.location.hash) {
$('#slidestart').stop().animate({ opacity: 0 }, 300, function() {
$("#slidestart").css({display:"none"},100);
setTimeout( function(){
$("#allbut").css({display:"block",opacity:0},100);
$('#allbut').stop().animate({ opacity: 1 }, 400, function() {
$('#slidestart').html(' ');
});
},255);
});
$('#allbut').stop().animate({ opacity: 1 }, 200, function() { /* animation complete */ });
$('#htmltag').attr("id","background_add5");
var hash = window.location.hash.substring(1);
//Puts hash in variable, and removes the # character
var hash_full = "."+hash, hash_id = $(hash).attr('id');
$(hash_full).addClass("selected");
setTimeout( function(){
$(hash_full).click();
},190);
}