- test
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
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 |
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 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 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 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
function str_replace(search, replace, subject) { | |
return subject.split(search).join(replace); | |
} |
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
//Title Format | |
function str_replace(search, replace, subject) { | |
return subject.split(search).join(replace); | |
} | |
function formatTitle(title, currentArray, currentIndex, currentOpts) { | |
return '<div id="ttt">'+str_replace("|", "<br>", title)+'</div>'; | |
} | |
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
//x=1 | |
jQuery('.block-inner.box.platte_200x280 a.download:eq(1)').addClass("view"); |
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
//TypoScript | |
# Multi Domain Configuration | |
[globalString = ENV:HTTP_HOST=example1.de] | |
config.baseURL = http:// www.example1.de/ | |
[global] | |
[globalString = ENV:HTTP_HOST=www.example2.de] | |
config.baseURL = http:// www.example2.de/ | |
[global] |
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
<?php | |
/* | |
** @Title: Recaptcha Validation | |
** @Date Modified: 6/01/09 | |
** Instructions: Place this code in a file called "ajax.recaptcha.php" | |
*/ | |
//A. Load the Recaptcha Libary | |
require_once('/location/to/recaptchalib.php'); | |
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
<div class="bgh"> | |
<img src="path/to/image.jpg"/> | |
</div> |
OlderNewer