]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Sep 2005 04:52:02 +0000 (04:52 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Sep 2005 04:52:02 +0000 (04:52 +0000)
doc/scripts.js [new file with mode: 0644]

diff --git a/doc/scripts.js b/doc/scripts.js
new file mode 100644 (file)
index 0000000..da87a0a
--- /dev/null
@@ -0,0 +1,18 @@
+
+function togglePopbox(id, show, hide) {
+       var link = document.getElementById(id + "_link");
+       var div = document.getElementById(id + "_div");
+       if (div.style.display == 'block') {
+               div.style.display = 'none';
+               if (link) {
+                   link.firstChild.nodeValue = show;
+               }
+       }
+       else if (div.style.display == 'none') {
+               div.style.display = 'block';
+               if (link) {
+               link.firstChild.nodeValue = hide;
+               }
+       }
+}
+