Team:DTU-Denmark/Templates/Standard page begin FRONTPAGE
From 2011.igem.org
(Difference between revisions)
Line 76: | Line 76: | ||
<div class="centering"> | <div class="centering"> | ||
<!-- Slider --> | <!-- Slider --> | ||
- | < | + | <script> |
+ | // execute your scripts when the DOM is ready. this is mostly a good habit | ||
+ | $(function() { | ||
+ | // initialize scrollable | ||
+ | $(".scrollable").scrollable(); | ||
+ | }); | ||
+ | </script> | ||
+ | <div class="scrollable"> | ||
+ | <div class="items"> | ||
+ | <div> | ||
+ | <img src="https://static.igem.org/mediawiki/2011/a/ad/DTU-Denmark2011-slider-slide1.png"></img> | ||
+ | </div> | ||
+ | <div class="farve10"> | ||
+ | <h2>Slide 2</h2> | ||
+ | </div> | ||
+ | <div class="farve11"> | ||
+ | <h2>Slide 3</h2> | ||
+ | </div> | ||
+ | <div class="farve12"> | ||
+ | <h2>Slide 4</h2> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="prev"></div> | ||
+ | <div class="next"></div> | ||
</html> | </html> |
Revision as of 21:12, 13 September 2011