Team:Cambridge/TEST1
From 2012.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
</noscript> | </noscript> | ||
- | |||
<div id='cam_page'> | <div id='cam_page'> | ||
<div id='cam_loading'> | <div id='cam_loading'> | ||
Line 55: | Line 54: | ||
<div id = 'container' class = 'maincontainer'> | <div id = 'container' class = 'maincontainer'> | ||
+ | |||
+ | <script type='text/javascript'> | ||
+ | $(function(){ | ||
+ | $('.scroll-pane').css({'height':(($(window).height())-361)+'px'}); | ||
+ | $('#container').jScrollPane({scrollbarWidth:15, scrollbarMargin:15}); | ||
+ | |||
+ | $(window).resize(function(){ | ||
+ | $('.scroll-pane').jScrollPaneRemove(); | ||
+ | $('#container').css({'height':(($(window).height())-361)+'px'}); | ||
+ | $('.scroll-pane').jScrollPane({scrollbarWidth:15, scrollbarMargin:15}); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
<div id = "row1" class = 'row'> | <div id = "row1" class = 'row'> | ||
<div id="Home" class = 'basicgrid'> | <div id="Home" class = 'basicgrid'> | ||
Line 91: | Line 104: | ||
</div> | </div> | ||
- | |||
</html> | </html> |
Revision as of 11:34, 5 July 2012
Loading...