Template:Montgomery Cougars NJUSA/Slider Open
From 2014hs.igem.org
(Difference between revisions)
Casey.chow (Talk | contribs) |
Casey.chow (Talk | contribs) |
||
(2 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <script src="https://2014hs.igem.org/Template:Montgomery_Cougars_NJUSA/Pikachoose_JS?action=raw&ctype=application/javascript"> | + | <script src="https://2014hs.igem.org/Template:Montgomery_Cougars_NJUSA/Pikachoose_JS?action=raw&ctype=application/javascript"></script> |
<script> | <script> | ||
$(document).ready(function (){ | $(document).ready(function (){ | ||
- | $(".slider ul").PikaChoose({carousel:true, carouselOptions:{wrap:'circular'}}); | + | $(".slider ul").PikaChoose({ |
+ | carousel:true, | ||
+ | carouselOptions: { | ||
+ | wrap:'circular' | ||
+ | }, | ||
+ | buildThumbFinish: function(self) { | ||
+ | $('.jcarousel-item img').removeAttr('height'); | ||
+ | } | ||
+ | }); | ||
}); | }); | ||
</script> | </script> | ||
- | |||
- | |||
<div class="slider"> | <div class="slider"> | ||
</html> | </html> |
Latest revision as of 22:16, 18 June 2014