Difference between revisions of "Template:Freiburg/wiki content start"
Line 25: | Line 25: | ||
} | } | ||
− | + | if ($window.width() < 1320) { | |
− | + | if ($window.scrollTop() > ($pageheight-100)) { | |
− | + | console.log('greater'); | |
− | + | $blob.css({"transform":"translate(-150px, -100px)"}); | |
+ | } | ||
+ | } | ||
+ | else { | ||
+ | if ($window.scrollTop() > ($pageheight-430)) { | ||
+ | console.log('greater'); | ||
+ | $blob.css({"transform":"translate(-150px, -430px)"}); | ||
+ | } | ||
+ | } | ||
}); | }); | ||
}); | }); |
Revision as of 20:22, 6 September 2015