X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=index.cgi;h=1b8e41c59c1da1ee1318167188f41fd1888a0143;hb=df65de824acd2be98234300ba96436c696bc118e;hp=527ffa1a7ef11e91689c315b70605be82c0d68a0;hpb=ab4ab05a4ccebf461dd9cd2d1e2a767c40578e9a;p=vpaste diff --git a/index.cgi b/index.cgi index 527ffa1..1b8e41c 100755 --- a/index.cgi +++ b/index.cgi @@ -185,8 +185,8 @@ function do_help { margin-bottom: 0.5em; } .buttons { float: left; } .links { float: right; } - .links a { text-decoration: none; - margin-left: 0.4em; } + .links * { text-decoration: none; + margin-left: 0.5em; } .box { display: none; clear: both; margin-top: 2.7em; @@ -211,10 +211,15 @@ function do_help { box.style.display = "none" } } + function autoshow() { + id = document.location.toString().replace(/.*#/, '') + box = document.getElementById(id) + if (box) box.style.display = "block" + } - +
@@ -233,9 +238,10 @@ function do_help {