Team:Dundee/Digi-Poster/Mop
From 2013.igem.org
(Difference between revisions)
Kyleharrison (Talk | contribs) |
Kyleharrison (Talk | contribs) |
||
(7 intermediate revisions not shown) | |||
Line 6: | Line 6: | ||
<!-- Website Design By: www.happyworm.com --> | <!-- Website Design By: www.happyworm.com --> | ||
- | + | ||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | ||
- | <link href="http://www.kyleharrison.co.uk/igem/digiposter/skin/ | + | <link rel="stylesheet" href="http://www.kyleharrison.co.uk/igem/digiposter/skin/circle.skin/circle.player.css"> |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | ||
<script type="text/javascript" src="http://www.kyleharrison.co.uk/igem/digiposter/js/jquery.jplayer.min.js"></script> | <script type="text/javascript" src="http://www.kyleharrison.co.uk/igem/digiposter/js/jquery.jplayer.min.js"></script> | ||
+ | <script type="text/javascript" src="http://www.kyleharrison.co.uk/igem/digiposter/js/jquery.transform2d.js"></script> | ||
+ | <script type="text/javascript" src="http://www.kyleharrison.co.uk/igem/digiposter/js/jquery.grab.js"></script> | ||
+ | <script type="text/javascript" src="http://www.kyleharrison.co.uk/igem/digiposter/js/mod.csstransforms.min.js"></script> | ||
+ | <script type="text/javascript" src="http://www.kyleharrison.co.uk/igem/digiposter/js/circle.player.js"></script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
//<![CDATA[ | //<![CDATA[ | ||
+ | |||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | + | /* | |
- | + | * Instance CirclePlayer inside jQuery doc ready | |
- | + | * | |
- | + | * CirclePlayer(jPlayerSelector, media, options) | |
- | + | * jPlayerSelector: String - The css selector of the jPlayer div. | |
- | + | * media: Object - The media object used in jPlayer("setMedia",media). | |
- | + | * options: Object - The jPlayer options. | |
- | + | * | |
- | + | * Multiple instances must set the cssSelectorAncestor in the jPlayer options. Defaults to "#cp_container_1" in CirclePlayer. | |
- | + | * | |
- | + | * The CirclePlayer uses the default supplied:"m4a, oga" if not given, which is different from the jPlayer default of supplied:"mp3" | |
- | + | * Note that the {wmode:"window"} option is set to ensure playback in Firefox 3.6 with the Flash solution. | |
+ | * However, the OGA format would be used in this case with the HTML solution. | ||
+ | */ | ||
+ | |||
+ | |||
+ | var myCirclePlayer2 = new CirclePlayer("#jquery_jplayer_2", | ||
+ | { | ||
+ | m4a: "http://www.kyleharrison.co.uk/igem/digiposter/Mop.wav", | ||
+ | }, { | ||
+ | cssSelectorAncestor: "#cp_container_2", | ||
+ | swfPath: "js", | ||
+ | wmode: "window", | ||
+ | keyEnabled: true | ||
+ | }); | ||
+ | |||
+ | |||
+ | |||
}); | }); | ||
//]]> | //]]> | ||
Line 33: | Line 55: | ||
<body> | <body> | ||
- | + | <!-- Begin page content --> | |
<div class="container"> | <div class="container"> | ||
- | + | <div class="row"> | |
- | + | <div class="span12"> | |
- | + | <h2> The Mop by Brian Cox </h2><br> | |
- | + | </div></div> | |
- | + | ||
<div class="row"> | <div class="row"> | ||
- | + | <div class="span12"> | |
+ | <center><img src="https://static.igem.org/mediawiki/2013/c/c2/MOP-ICO-Dundee.jpg" style="height:200px"></img</center> | ||
+ | </div></div> | ||
- | < | + | <div class="row"> |
+ | <div class="span4"> | ||
- | + | </div> | |
- | + | <div class="span4"> | |
- | + | <center> <div id="jquery_jplayer_2" class="cp-jplayer"></div> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <!-- The container for the interface can go where you want to display it. Show and hide it as you need. --> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <div id="cp_container_2" class="cp-container"> | |
- | + | <div class="cp-buffer-holder"> <!-- .cp-gt50 only needed when buffer is > than 50% --> | |
+ | <div class="cp-buffer-2"></div> | ||
+ | <div class="cp-buffer-2"></div> | ||
+ | </div> | ||
+ | <div class="cp-progress-holder"> <!-- .cp-gt50 only needed when progress is > than 50% --> | ||
+ | <div class="cp-progress-2"></div> | ||
+ | <div class="cp-progress-2"></div> | ||
+ | </div> | ||
+ | <div class="cp-circle-control"></div> | ||
+ | <ul class="cp-controls"> | ||
+ | <li><a class="cp-play" tabindex="1">play</a></li> | ||
+ | <li><a class="cp-pause" style="display:none;" tabindex="1">pause</a></li> <!-- Needs the inline style here, or jQuery.show() uses display:inline instead of display:block --> | ||
+ | </ul> | ||
+ | </div><p><strong> Why Mop Up?</strong> </p></center> | ||
+ | </div> | ||
- | < | + | <div class="span4"> |
- | + | ||
- | |||
- | |||
- | |||
</div> | </div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | <div class="row"> | ||
+ | <br><br><br> | ||
+ | <div class="span4"> | ||
+ | <centeR><a href="/Team:Dundee/Digi-Poster/Introduction" style="font-size:22px;float:left;"> <Strong> << Return to Introduction </strong></a></center> | ||
+ | </div> | ||
+ | |||
+ | <div class="span4"> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | <div class="span4"> | ||
+ | <centeR><a href="/Team:Dundee/Digi-Poster/Detector" style="font-size:22px;float:right"> <Strong> Go to Detector >> </strong></a></center> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | |||
+ | |||
+ | <!-- Le javascript | ||
+ | ================================================== --> | ||
+ | <!-- Placed at the end of the document so the pages load faster --> | ||
+ | |||
+ | <!-- the neccessary javascript --> | ||
+ | <script src="http://www.kyleharrison.co.uk/igem/js/bootstrap.min.js"></script> | ||
+ | |||
</body> | </body> | ||
</html> | </html> |
Latest revision as of 00:26, 5 October 2013