fix sign up nav
This commit is contained in:
1 parent
4af5e4594b
commit
41b991789e
7 files changed
+185
-75
No files matched your search
@@ -1,6 +1,22 @@
|
||||
var counter = 1;
|
||||
$(document).ready(function() {
|
||||
|
||||
// navigation bar toggle
|
||||
$('#navbar-toggler').click(function(){
|
||||
$('.navbar-collapse').slideToggle(400);
|
||||
});
|
||||
|
||||
// navbar bg change on scroll
|
||||
$(window).scroll(function(){
|
||||
let pos = $(window).scrollTop();
|
||||
if(pos >= 100){
|
||||
$('.navbar').addClass('cng-navbar');
|
||||
} else {
|
||||
$('.navbar').removeClass('cng-navbar');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
var erroEle = $('.error-message'),
|
||||
focusInput = $('.questions').find('.active');
|
||||
|
||||
|
||||
@@ -54,13 +54,4 @@ $(document).ready(function(){
|
||||
});
|
||||
});
|
||||
|
||||
// testimonial carousel
|
||||
$('.testimonial .owl-carousel').owlCarousel({
|
||||
loop: true,
|
||||
autoplay: true,
|
||||
dots: true,
|
||||
nav: false,
|
||||
items: 1
|
||||
});
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user