diff options
author | Prashant S | 2018-08-16 14:54:58 +0530 |
---|---|---|
committer | GitHub | 2018-08-16 14:54:58 +0530 |
commit | 5fc9c374d7139d8364519a9f28f07be645d62eeb (patch) | |
tree | 7d48d9bbd7d72e4ddf2607fb987dc2cdee5a5419 /static/website/bootstrap-css/assets/js | |
parent | 9674af451d6ede8fc3a3ee1527eb8ac2f1a61cb2 (diff) | |
parent | ae12447a47f7298bb411a1d4191e8d3dcf975e01 (diff) | |
download | SciPy2018-5fc9c374d7139d8364519a9f28f07be645d62eeb.tar.gz SciPy2018-5fc9c374d7139d8364519a9f28f07be645d62eeb.tar.bz2 SciPy2018-5fc9c374d7139d8364519a9f28f07be645d62eeb.zip |
Merge pull request #7 from prashantsinalkar/master
added submit cfp
Diffstat (limited to 'static/website/bootstrap-css/assets/js')
-rw-r--r-- | static/website/bootstrap-css/assets/js/main.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/static/website/bootstrap-css/assets/js/main.js b/static/website/bootstrap-css/assets/js/main.js index 66a2645..bb476df 100644 --- a/static/website/bootstrap-css/assets/js/main.js +++ b/static/website/bootstrap-css/assets/js/main.js @@ -12,13 +12,20 @@ $(window).load(function(){ function handleTopNavAnimation() { var top=$(window).scrollTop(); - + if($('#home').attr("data") == 'home'){ if(top>10){ + $('#site-nav').addClass('navbar-solid'); } else{ $('#site-nav').removeClass('navbar-solid'); } + } + else{ + $('#site-nav').addClass('navbar-solid-other'); + $("a").removeAttr("data-scroll"); + } + } /* @@ -66,4 +73,4 @@ $('#registration-form').submit(function(e){ * SmoothScroll */ -smoothScroll.init();
\ No newline at end of file +smoothScroll.init(); |