12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- $(document).ready(function(){
-
- $(".testimonial-slider").slick({
- autoplay: false,
- slidesToScroll: 1,
- dots: true,
- fade: true,
- infinite: true,
- arrows: false,
- });
-
- $(function() {
- $('.scroll').click(function() {
- if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
- var target = $(this.hash);
- target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
- if (target.length) {
- $('html, body').animate({
- scrollTop: target.offset().top - 0
- }, 800);
- return false;
- }
- }
- });
- });
-
- });
- $(document).ready(function(){
-
- $(document).off('click.bs.dropdown.data-api');
-
- $('li.dropdown').mouseover(function(){
- $(".dropdown-menu").hide();
- $(this).find(".dropdown-menu").show();
- })
-
- $(".header").mouseleave(function(){
- $(".dropdown-menu").hide();
- });
- });
|