summaryrefslogtreecommitdiff
path: root/solr_search.js
diff options
context:
space:
mode:
Diffstat (limited to 'solr_search.js')
-rwxr-xr-xsolr_search.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/solr_search.js b/solr_search.js
new file mode 100755
index 0000000..8774e13
--- /dev/null
+++ b/solr_search.js
@@ -0,0 +1,11 @@
+$(document).ready(function(){
+ $("#topcontrol").stop().fadeOut();
+ $(window).bind("scroll", function() {
+ if ($(this).scrollTop() > 950) {
+ $("#topcontrol").show();
+
+ } else {
+ $("#topcontrol").hide();
+ }
+});
+});