From 2009.igem.org
(Difference between revisions)
|
|
Line 10: |
Line 10: |
| | | |
| | | |
- | .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...
| |
- | });
| |
- | });
| |
| | | |
| | | |
Latest revision as of 05:15, 5 October 2009