I’m really just lost as to why IE would throw a fit. It works in Chrome and IE9. Here’s my script:
var utilityNav = function() {
$('#head-nav a').click(function(e) {
e.preventDefault();
$('#head-nav a').removeClass('head-link-active').next('div').removeClass('shadow').slideUp('fast').css('z-index', '7999');
if ($(this).next('div').is(':hidden')) {
var linkPos = $(this).position().left + $(this).width()/2 + 4;
$(this).addClass('head-link-active');
$(this).next('div').addClass('shadow').slideDown().css('left', linkPos + 'px').css('z-index', '8000');
}
});
$('.utility-three').children('.utility-three-block').eq(1).addClass('borders');
};
I don’t think anything is syntactically wrong with it, but I’d really appreciate some help. Thanks.
Ended up being a code conflict with bxSlider. Thanks for the help.