Template:Team:IBB Pune/slideshow
From 2009.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html><head> | <html><head> | ||
<script language="JavaScript1.1"> | <script language="JavaScript1.1"> | ||
- | |||
- | + | .slideshow { height: 250px; width: 960px; } | |
- | + | .slideshow img { padding: 0px; border: 0px solid #ccc; background-color: #800000; } | |
- | + | </style> | |
- | + | <!-- include jQuery library --> | |
- | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> | |
+ | <!-- include Cycle plugin --> | ||
+ | <script type="text/javascript" src="http://jquery.malsup.com/cycle/jquery.cycle.all.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $('.slideshow').cycle({ | ||
+ | fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc... | ||
+ | }); | ||
+ | }); | ||
- | + | <div id="demodiv" style=""> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <div class="slideshow"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | <img src="slides/1.jpg" width="960" height="250" /> | |
- | + | <img src="slides/2.jpg" width="960" height="250" /> | |
- | + | <img src="slides/3.jpg" width="960" height="250" /> | |
- | + | <img src="slides/4.jpg" width="960" height="250" /> | |
- | + | <img src="slides/5.jpg" width="960" height="250" /> | |
- | + | <img src="slides/6.jpg" width="960" height="250" /> | |
- | + | <img src="slides/7.jpg" width="960" height="250" /> | |
+ | <img src="slides/8.jpg" width="960" height="250" /> | ||
+ | </div> | ||
- | + | </div> | |
- | </ | + | |
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</script></body> | </script></body> | ||
</html> | </html> |