This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var isChrome = navigator.userAgent.indexOf('Chrome') > -1; | |
var isFireFox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; | |
var isSafari = navigator.userAgent.indexOf('Safari') > -1; | |
if ((isChrome)&&(isSafari)) {isSafari=false;} | |
var isIE = navigator.appName.indexOf('Internet Explorer')!=-1; | |
var isIE7 = navigator.appVersion.indexOf("MSIE 7.") != -1; | |
var isIE8 = navigator.appVersion.indexOf("MSIE 8.") != -1; | |
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? isTabletMobile = true : isTabletMobile = false; | |
/iPad/i.test(navigator.userAgent) ? isTablet = true : isTablet = false; | |
/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ? isMobile = true : isMobile = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var windowW = $(window).width(), | |
windowH = $(window).height(); | |
var resizeThread = 0; | |
function responsiveReturn() { | |
clearTimeout(resizeThread); | |
windowW = $(window).width(); | |
windowH = $(window).height(); |
NewerOlder