Team:Peking/firsttry/js/inside.js

From 2014.igem.org

(Difference between revisions)
(Created page with "$(document).ready(function(){ inside(); }); function inside() { $("#sidenav").css( "height", $("#midbody").height()); $("#list").pin({ containerSelector: "#sidenav" ...")
Line 3: Line 3:
});
});
function inside()
function inside()
-
{
+
{
-
$("#sidenav").css( "height", $("#midbody").height());
+
$("#list").pin({
$("#list").pin({
  containerSelector: "#sidenav"
  containerSelector: "#sidenav"
});
});
};
};

Revision as of 09:03, 2 October 2014

$(document).ready(function(){ inside(); }); function inside() { $("#list").pin({ containerSelector: "#sidenav" }); };