diff options
author | Prashant S | 2020-07-10 17:44:02 +0530 |
---|---|---|
committer | GitHub | 2020-07-10 17:44:02 +0530 |
commit | b32d1e5f99bebdde72b312c6d93d05dbf9e28558 (patch) | |
tree | 378818d3b5dd50d5a61a92262680b4a9cee3df21 /solr_search.js | |
parent | 9f701719a2f93f7fa2fc5f9fc843454219009cc7 (diff) | |
parent | 2b3f23903b5a50482d797d88d5a0b73332aeaafb (diff) | |
download | scilab_solr_search-master.tar.gz scilab_solr_search-master.tar.bz2 scilab_solr_search-master.zip |
added and updated the code
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(); + } +}); +}); |