JQuery.Scrolly: Unterschied zwischen den Versionen
Aus Wikizone
| Zeile 1: | Zeile 1: | ||
| + | https://github.com/Victa/scrolly | ||
| + | |||
<syntaxhighlight lang="html5"> | <syntaxhighlight lang="html5"> | ||
<div class="parallax teaser-bot" data-velocity=".5" data-fit="250" data-width="1600" data-height="1134" > </div> | <div class="parallax teaser-bot" data-velocity=".5" data-fit="250" data-width="1600" data-height="1134" > </div> | ||
Aktuelle Version vom 15. Januar 2017, 23:26 Uhr
https://github.com/Victa/scrolly
<div class="parallax teaser-bot" data-velocity=".5" data-fit="250" data-width="1600" data-height="1134" > </div>
<script src="js/jquery.scrolly/jquery.scrolly.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$('.parallax').scrolly({bgParallax: true});
});
</script>