summaryrefslogtreecommitdiff
path: root/doc/build/static/init.js
diff options
context:
space:
mode:
authorSławek Ehlert <slafs@op.pl>2015-01-27 22:04:38 +0100
committerSławek Ehlert <slafs@op.pl>2015-01-27 22:04:38 +0100
commit57b2bd5dcba6140b511c898c0f682234f13d5c51 (patch)
treea0899b2a35d27e177001b163054c3c9a8f7f1c06 /doc/build/static/init.js
parent6a1f16d09958e549502a0991890d64964c71b357 (diff)
parent8aaa8dd6bdfb85fa481efa3115b9080d935d344c (diff)
downloadsqlalchemy-pr/152.tar.gz
Merge branch 'master' into oracle-servicename-optionpr/152
Diffstat (limited to 'doc/build/static/init.js')
-rw-r--r--doc/build/static/init.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/doc/build/static/init.js b/doc/build/static/init.js
deleted file mode 100644
index 4bcb4411d..000000000
--- a/doc/build/static/init.js
+++ /dev/null
@@ -1,44 +0,0 @@
-
-function initSQLPopups() {
- $('div.popup_sql').hide();
- $('a.sql_link').click(function() {
- $(this).nextAll('div.popup_sql:first').toggle();
- return false;
- });
-}
-
-var automatedBreakpoint = -1;
-
-function initFloatyThings() {
-
- automatedBreakpoint = $("#docs-container").position().top + $("#docs-top-navigation-container").height();
-
- $("#fixed-sidebar.withsidebar").addClass("preautomated");
-
-
- function setScroll() {
-
- var scrolltop = $(window).scrollTop();
- if (scrolltop >= automatedBreakpoint) {
- $("#fixed-sidebar.withsidebar").css("top", 5);
- }
- else {
- $("#fixed-sidebar.withsidebar").css(
- "top", $("#docs-body").offset().top - Math.max(scrolltop, 0));
- }
-
-
- }
- $(window).scroll(setScroll)
-
- setScroll();
-}
-
-
-$(document).ready(function() {
- initSQLPopups();
- if (!$.browser.mobile) {
- initFloatyThings();
- }
-});
-