Team:Hong Kong HKU
From 2013.igem.org
(Difference between revisions)
Line 26: | Line 26: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <div id="slider-direction-nav"></div> | ||
+ | <div id="slider-control-nav"></div> | ||
Line 54: | Line 56: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
- | $('#slider').leanSlider(); | + | $('#slider').leanSlider({ |
+ | directionNav: '#slider-direction-nav', | ||
+ | controlNav: '#slider-control-nav' | ||
+ | }); | ||
}); | }); | ||
+ | |||
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 10:16, 27 September 2013