This commit is contained in:
albert
2013-03-18 22:11:54 -07:00
parent c59afe4726
commit d8143d0b41
3 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,11 @@
$(function() {
var $sidebar = $("#sidebar");
var $content = $("#content");
if (!$sidebar.length || !$content.length) {
return;
}
var sidebar_offset = $sidebar.offset().top + $sidebar.height();
var content_offset = $content.offset().top + $content.height();
var offset = null;