This file contains hidden or 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
// sort flexslider correctly | |
$(document).ready(function(){ | |
var z = 999; | |
$("ul.slides li").each(function(){ | |
z-=1; | |
$(this).css({'z-index':z}); | |
}); | |
$('.flexslider').flexslider({ | |
slideToStart: 0, | |
animation: "fade" |
This file contains hidden or 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 ua = navigator.userAgent; | |
var checker = { | |
iphone: ua.match(/(iPhone|iPod|iPad)/), | |
blackberry: ua.match(/BlackBerry/), | |
android: ua.match(/Android/) | |
}; | |
/*Check if device runs iOS 5 or higher*/ | |
fiveorhigher = navigator.userAgent.match(/[5-9]_[0-9]/) !== null; | |
if(console) {console.log(fiveorhigher);} |
This file contains hidden or 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
AddType video/ogg .ogm | |
AddType video/ogg .ogv | |
AddType video/ogg .ogg | |
AddType video/webm .webm | |
AddType audio/webm .weba | |
AddType video/mp4 .mp4 | |
AddType video/x-m4v .m4v |
NewerOlder