diff options
author | prashantsinalkar | 2019-10-23 20:09:42 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-10-23 20:10:06 +0530 |
commit | 1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd (patch) | |
tree | efa69ca44d825961ab06342a39801cbac3f95912 /solr_search.js | |
parent | 8971fca1e7762b1d68ca0eba9290bd1fc47c7172 (diff) | |
download | r_solr_search-1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd.tar.gz r_solr_search-1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd.tar.bz2 r_solr_search-1aaf5962cbdcc5a2ad97f01598ec7ce5f93aabcd.zip |
initial commit
Diffstat (limited to 'solr_search.js')
-rwxr-xr-x | solr_search.js | 11 |
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(); + } +}); +}); |