summaryrefslogtreecommitdiff
path: root/solr_search.js
diff options
context:
space:
mode:
authorPrashant S2020-07-10 17:44:02 +0530
committerGitHub2020-07-10 17:44:02 +0530
commitb32d1e5f99bebdde72b312c6d93d05dbf9e28558 (patch)
tree378818d3b5dd50d5a61a92262680b4a9cee3df21 /solr_search.js
parent9f701719a2f93f7fa2fc5f9fc843454219009cc7 (diff)
parent2b3f23903b5a50482d797d88d5a0b73332aeaafb (diff)
downloadscilab_solr_search-master.tar.gz
scilab_solr_search-master.tar.bz2
scilab_solr_search-master.zip
Merge pull request #1 from prashantsinalkar/masterHEADmaster
added and updated the code
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();
+ }
+});
+});