Team:Harvard/test

From 2011.igem.org

(Difference between revisions)
Line 12: Line 12:
</script>
</script>
 +
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
 +
        <script src="jquery.galleryview-3.0.min.js"></script>
 +
<script src="jquery.timers-1.2.js"></script>
 +
<script src="jquery.easing.1.3.js"></script><!-- This is optional !-->
 +
<link rel="stylesheet" href="jquery.galleryview-3.0.css" type="text/css" />
 +
<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>
     </head>
     </head>
    
    
-
     <body>
+
     <body>
-
<div id="ytapiplayer">
+
    <ul id="gallery">
 +
      <li><img src="http://old.appleton.me/wp-content/themes/twentyten/images/01.jpg" />
 +
      <div class="panel-content">
 +
<div id="ytapiplayer">
             <p>You will need Flash 8 or better to view this content. </p>
             <p>You will need Flash 8 or better to view this content. </p>
               </div>
               </div>
<a href="javascript:ytplayer.playVideo()">Play</a>  
<a href="javascript:ytplayer.playVideo()">Play</a>  
-
                                <a href="javascript:ytplayer.stopVideo()">Stop</a>
 
<script type = "text/javascript">
<script type = "text/javascript">
Line 26: Line 47:
swfobject.embedSWF(
swfobject.embedSWF(
-
"http://www.youtube.com/v/pn0LW_ou6gA&enablejsapi=1&playerapiid=ytplayer",
+
"http://www.youtube.com/v/JeJ6-gN0eB4&enablejsapi=1&playerapiid=ytplayer",
"ytapiplayer", "425", "300", "8", null, null, params, atts);
"ytapiplayer", "425", "300", "8", null, null, params, atts);
</script>
</script>
</div>   
</div>   
 +
</div>
 +
 +
      </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>
     </body>
</html>
</html>

Revision as of 16:00, 24 August 2011