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
<img src="http://dummyimage.com/254x403/ccc/000.jpg&text=254x403+-+Produkt" data-hover="http://dummyimage.com/254x403/999/000.jpg&text=254x403+-+Produkt" alt="" /> |
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 getURLParams() { | |
var i = 0, | |
params = {}, | |
tmpParam = [], | |
pairs = window.location.href | |
.slice(window.location.href.indexOf('?') + 1) | |
.replace(window.location.hash, '') | |
.split('&'); | |
for(; i < pairs.length; i++) { |
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
// Engine/OS | |
var is_iPhone = navigator.platform.indexOf('iPhone') >= 0; | |
var is_iPad = navigator.platform.indexOf('iPad') >= 0; | |
var is_iOS = this.is_iPhone || this.is_iPad; | |
var is_iOS5 = this.is_iOS && window.navigator.appVersion.indexOf('OS 5_') >= 0; | |
var is_webkit = 'webkitRequestAnimationFrame' in window; | |
var is_win = navigator.appVersion.indexOf("Win") >= 0; | |
var is_mac = navigator.appVersion.indexOf("Mac") >= 0; | |
// Features |
NewerOlder