From: Mike Bayer Date: Sat, 25 Jan 2014 22:26:07 +0000 (-0500) Subject: hypothetical "floaty thing" for navigation, doesn't really work yet X-Git-Tag: rel_0_9_2~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ad0e9a842be2e365d81c2fc23931108fa691094;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git hypothetical "floaty thing" for navigation, doesn't really work yet --- diff --git a/doc/build/static/docs.css b/doc/build/static/docs.css index bd08f3b209..b7c02248b5 100644 --- a/doc/build/static/docs.css +++ b/doc/build/static/docs.css @@ -526,3 +526,16 @@ div .version-warning { border:1px solid #BFBFBF; }*/ +/*dl div.floatything { + display:none; + position:fixed; + top:25px; + left:40px; + font-size:.95em; + font-weight: bold; + border:1px solid; + background-color: #FFF; +} +dl:hover div.floatything { + display:block; +}*/ diff --git a/doc/build/static/init.js b/doc/build/static/init.js index cd4dac6b91..1876d470e6 100644 --- a/doc/build/static/init.js +++ b/doc/build/static/init.js @@ -4,10 +4,17 @@ function initSQLPopups() { $('a.sql_link').click(function() { $(this).nextAll('div.popup_sql:first').toggle(); return false; - }) + }); } +/*function initFloatyThings() { + $("dl.function, dl.class, dl.method, dl.attr, dl.data").each(function(idx, elem) { + $(elem).prepend("
" + $(elem).contents("dt").attr('id')+ "
"); + }); +}*/ + $(document).ready(function() { initSQLPopups(); + /*initFloatyThings();*/ });