Team:UCL/Homex
From 2014.igem.org
(Difference between revisions)
Adamdenyer (Talk | contribs) |
Adamdenyer (Talk | contribs) |
||
Line 111: | Line 111: | ||
<div id="slidehumanscontent" class="slidecontent"> | <div id="slidehumanscontent" class="slidecontent"> | ||
- | <div id="grid"> | + | <div id="grid"> |
<div class="box" id="team-human"><a href="https://2014.igem.org/Team:UCL/Humans/Team"><span class="overlayx"></span></a></div> | <div class="box" id="team-human"><a href="https://2014.igem.org/Team:UCL/Humans/Team"><span class="overlayx"></span></a></div> | ||
<div class="box" id="collaborations-human"><a href="https://2014.igem.org/Team:UCL/Humans/Collab"><span class="overlayx"></span></a></div> | <div class="box" id="collaborations-human"><a href="https://2014.igem.org/Team:UCL/Humans/Collab"><span class="overlayx"></span></a></div> | ||
Line 197: | Line 197: | ||
<script type="text/javascript" src="https://2014.igem.org/Team:UCL/Template:mason.js?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2014.igem.org/Team:UCL/Template:mason.js?action=raw&ctype=text/javascript"></script> | ||
+ | <script> | ||
+ | $(document).ready(function () { | ||
+ | $(function () { | ||
+ | $("#grid").mason({ | ||
+ | itemSelector: ".box", | ||
+ | ratio: 1.5, | ||
+ | sizes: [ | ||
+ | [1, 1] | ||
+ | ], | ||
+ | columns: [ | ||
+ | [0, 480, 1], | ||
+ | [480, 700, 2], | ||
+ | [700, 1680, 3] | ||
+ | ], | ||
+ | filler: { | ||
+ | itemSelector: '.fillerBox', | ||
+ | filler_class: 'custom_filler' | ||
+ | }, | ||
+ | layout: 'fluid', | ||
+ | gutter: 5 | ||
+ | }); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
<script src="https://2014.igem.org/Team:UCL/Template:grid.js?action=raw&ctype=text/javascript"></script> | <script src="https://2014.igem.org/Team:UCL/Template:grid.js?action=raw&ctype=text/javascript"></script> | ||
<script> | <script> |
Revision as of 16:28, 4 October 2014