I have a script that I do not want to apply to IE7, the baseline browser for this site.
I have used HTML 5 boilerplate – with HTML class=”ie7″ therefore. I have tried
$('html:not(.ie7) .my-list li ')
but it still gets applied in IE7.
I know $browser is deprecated – is there a easier way to do what I am doing therefore?
The reason I am not using this script with ie7 is that I have a more essential script that applies a filter and this jquery animation will break that.
thanks for looking.
You could use conditional comments:
References: