diff options
| author | Darkelarious <darkelarious@333networks.com> | 2022-08-26 13:26:33 +0200 |
|---|---|---|
| committer | Darkelarious <darkelarious@333networks.com> | 2022-08-26 13:26:33 +0200 |
| commit | 8ec88b566c5f3edc65f25adc0716c3493689cd08 (patch) | |
| tree | dbbde9a694f6b4052ec39a45f0010955c668da3c /s/masterscript.js | |
| parent | c5f43733533fe9b5708bd065a12c5fac86ccebed (diff) | |
| download | WebInterface-Perl-8ec88b566c5f3edc65f25adc0716c3493689cd08.tar.gz WebInterface-Perl-8ec88b566c5f3edc65f25adc0716c3493689cd08.zip | |
advanced filtering
Diffstat (limited to 's/masterscript.js')
| -rwxr-xr-x | s/masterscript.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/s/masterscript.js b/s/masterscript.js index ce849bc..56234b6 100755 --- a/s/masterscript.js +++ b/s/masterscript.js @@ -6,20 +6,12 @@ // 333networks.com for license and copyright. // //============================================================================== - -// advanced search box -function toggleAdvanced () -{ - var box = document.getElementById("advancedsearch"); - box.style.display = (box.style.display == "block" ? "none" : "block" ); -} - // search box { var qbox = document.getElementById('q'); qbox.onclick = function () { - if ( this.value == 'search...' ) + if ( this.value == 'filter...' ) { this.value = ''; this.style.fontStyle = 'normal' @@ -30,7 +22,7 @@ function toggleAdvanced () { if ( this.value.length < 1 ) { - this.value = 'search...'; + this.value = 'filter...'; this.style.fontStyle = 'italic'; } }; |
