Team:UCL/Science
From 2014.igem.org
(Difference between revisions)
Lewismoffat (Talk | contribs) |
Lewismoffat (Talk | contribs) |
||
Line 39: | Line 39: | ||
<script> | <script> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $("# | + | $(function(){ |
- | + | $("#grid").mason({ | |
- | + | itemSelector: ".box", | |
- | + | ratio: 1.5, | |
- | + | sizes: [ | |
- | + | [1,1], | |
- | + | [1,2], | |
- | + | [2,2] | |
- | + | ], | |
- | + | columns: [ | |
- | + | [0,480,1], | |
- | + | [480,780,2], | |
- | + | [780,1080,3], | |
- | + | [1080,1320,4], | |
- | + | [1320,1680,5] | |
- | + | ], | |
- | + | filler: { | |
- | + | itemSelector: '.fillerBox', | |
- | + | filler_class: 'custom_filler' | |
- | + | }, | |
- | + | layout: 'fluid', | |
- | } | + | }); |
- | + | }); }); | |
- | }); }); | + | |
</script> | </script> | ||
Revision as of 19:13, 2 September 2014
1
2
3
4
5
6
7
8
1
2
3
4
5