User:Doody/Sandbox

From Hobowars Wiki
< User:Doody
Revision as of 12:57, 2 December 2012 by Doody (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<html> jQuery( document ).ready( function( $ ) {

 if ($.browser.mozilla && $.browser.version >= "2.0" ){
  alert('Mozilla above 1.9');
 }

 if( $.browser.safari ){
  alert('Safari');
 }
 if( $.browser.opera){
  alert('Opera');
 }
 if ($.browser.msie && $.browser.version <= 6 ){
  alert('IE 6 or below version');
 }
 if ($.browser.msie && $.browser.version > 6){
  alert('IE above 6');
 }


} ); </html>