Team:Harvard/test slider
From 2011.igem.org
(Difference between revisions)
Nidanaushad (Talk | contribs) (Created page with "<html> <head> <title>Galleryview 2.0 Example // appleton.me</title> <script src="http://old.appleton.me/wp-content/themes/twentyten/js/jquery.js"></script> <script src="http://ol...") |
Nidanaushad (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <head> | + | <head> |
- | + | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
- | <script src="http:// | + | <script src="http://www.people.fas.harvard.edu/~nnaushad/galleryview-3.0b1/jquery.galleryview-3.0.min.js"></script> |
- | <script src="http:// | + | <script src="http://www.people.fas.harvard.edu/~nnaushad/galleryview-3.0b1/jquery.timers-1.2.js"></script> |
- | <script src="http:// | + | <script src="http://www.people.fas.harvard.edu/~nnaushad/galleryview-3.0b1/ajquery.easing.1.3.js"></script><!-- This is optional !--> |
- | <script src="http:// | + | <link rel="stylesheet" href="jquery.galleryview-3.0.css" type="text/css" /> |
- | <link rel="stylesheet" href=" | + | <script> |
- | <script> | + | $(document).ready(function(){ |
- | + | $('#gallery').galleryView({ | |
- | + | panel_width: 800, | |
- | + | panel_height: 300, | |
- | + | frame_width: 50, | |
- | + | frame_height: 50, | |
- | + | panel_animation: false, | |
- | + | transition_interval: 0 | |
- | + | ||
- | + | ||
+ | }); | ||
}); | }); | ||
- | + | </script> | |
- | </script> | + | </head> |
- | + | ||
- | < | + | <body> |
- | + | <ul id="gallery"> | |
- | + | <li><img src="http://old.appleton.me/wp-content/themes/twentyten/images/01.jpg" /> | |
- | + | <div class="panel-content"> | |
- | + | <iframe width="425" height="349" | |
- | + | src="http://www.youtube.com/embed/Jdqk6SMfIvA" | |
- | + | frameborder="0" allowfullscreen></iframe> | |
- | + | </div> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <body> | + | |
- | + | ||
- | + | ||
- | + | ||
- | <ul id="gallery"> | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </body> | + | </li> |
+ | <li><img src="http://old.appleton.me/wp-content/themes/twentyten/images/02.jpg" /></li> | ||
+ | <li><img src="http://old.appleton.me/wp-content/themes/twentyten/images/03.jpg" /></li> | ||
+ | <li><img src="http://old.appleton.me/wp-content/themes/twentyten/images/04.jpg" /></li> | ||
+ | </ul> | ||
+ | </body> | ||
</html> | </html> |
Revision as of 18:49, 11 July 2011