Team:Peking/firsttry/js/inside.js
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
function inside() | function inside() | ||
{ | { | ||
+ | $("#sidenav").css("height", $("#midbody").height() | ||
+ | ); | ||
$("#list").pin({ | $("#list").pin({ | ||
containerSelector: "#sidenav" | containerSelector: "#sidenav" | ||
}); | }); | ||
}; | }; |
Revision as of 09:04, 2 October 2014
$(document).ready(function(){ inside(); }); function inside() { $("#sidenav").css("height", $("#midbody").height()
);
$("#list").pin({ containerSelector: "#sidenav" }); };