Difference between revisions of "Team:Exeter"
Line 1: | Line 1: | ||
{{Exeter}} | {{Exeter}} | ||
<html> | <html> | ||
+ | |||
+ | <script src="https://2015.igem.org/Team:Exeter/bpopup/assets/jquery-bpopup-0-11-0-min-js"></script> | ||
+ | <!--<script src="assets/jquery.easing.1.3.js"></script> | ||
+ | <script src="assets/scripting.min.js"></script>--> | ||
<style type="text/css"> | <style type="text/css"> | ||
Line 20: | Line 24: | ||
</video> | </video> | ||
--> | --> | ||
− | + | ||
<span class="button small pop2 x-content" data-bpopup='<iframe width="640" height="360" src="http://www.youtube.com/embed/pPb2lIap6Es?rel=0" frameborder="0" allowfullscreen></iframe>'>Watch Our Video</span> | <span class="button small pop2 x-content" data-bpopup='<iframe width="640" height="360" src="http://www.youtube.com/embed/pPb2lIap6Es?rel=0" frameborder="0" allowfullscreen></iframe>'>Watch Our Video</span> | ||
<pre> | <pre> | ||
Line 35: | Line 39: | ||
}); | }); | ||
</pre> | </pre> | ||
− | + | ||
<div id="infographic"> | <div id="infographic"> |
Revision as of 15:36, 18 September 2015
var self = $(this) //button , content = $('.content'); $('element_to_pop_up').bPopup({ onOpen: function() { content.html(self.data('bpopup') || ''); }, onClose: function() { content.empty(); } });