Skip to content

Instantly share code, notes, and snippets.

View sanooj's full-sized avatar

sanooj sanooj

  • Kerala, India
  • 07:20 (UTC +05:30)
  • LinkedIn in/sanoojah
View GitHub Profile
@sanooj
sanooj / browser detect
Created September 2, 2011 09:40
browser detect for html
$(document).ready(function()
{
if ( $.browser.msie ){
if($.browser.version == '6.0')
{ $('html').addClass('ie6');
}
else if($.browser.version == '7.0')
{ $('html').addClass('ie7');
}
else if($.browser.version == '8.0')