JQuery.Scrolly: Unterschied zwischen den Versionen
Aus Wikizone
(Die Seite wurde neu angelegt: „<syntaxhighlight lang="html5"> <div class="parallax teaser-bot" data-velocity=".5" data-fit="250" data-width="1600" data-height="1134" > </div> <script sr…“) |
|||
| Zeile 1: | Zeile 1: | ||
<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> | ||
| − | <script src=" | + | <script src="js/jquery.scrolly/jquery.scrolly.js" type="text/javascript"></script> |
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
Version vom 15. Januar 2017, 23:26 Uhr
<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>