summaryrefslogtreecommitdiff
path: root/doc/scripts.js
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-09-21 04:52:02 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-09-21 04:52:02 +0000
commit354fd40c834fe8aad1a9a067d343f68072da3a0b (patch)
treedcd5d86bdd10507dffc146138adf47d7ddfac89b /doc/scripts.js
parent12c819f106176f6d76a33c9e2294265f40dc10f9 (diff)
downloadsqlalchemy-354fd40c834fe8aad1a9a067d343f68072da3a0b.tar.gz
Diffstat (limited to 'doc/scripts.js')
-rw-r--r--doc/scripts.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/scripts.js b/doc/scripts.js
new file mode 100644
index 000000000..da87a0ac5
--- /dev/null
+++ b/doc/scripts.js
@@ -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;
+ }
+ }
+}
+