123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- /*
- lexar
- Author - bootstrapdevelop
- Project Version - v1.0
- */
- (function ($) {
- "use strict";
- /**sticky*/
- $("#header").sticky({topSpacing:0});
- //auto close navbar-collapse on click a
- $('.nav-item>[data-scroll]').on('click', function () {
- $('.navbar-toggler:visible').click();
- });
- // owl-carousel
- // $(".what_say_sldier").owlCarousel({
- // loop:true,
- // margin:30,
- // nav:false,
- // dots:true,
- // responsive:{
- // 0:{
- // items:1
- // },
- // 600:{
- // items:2
- // },
- // 1000:{
- // items:3
- // }
- // }
- // });
- //
- // $(".pricing_slider").owlCarousel({
- // loop:true,
- // margin:0,
- // nav:false,
- // dots:true,
- // responsive:{
- // 0:{
- // items:1
- // },
- // 600:{
- // items:2
- // },
- // 1000:{
- // items:3
- // }
- // }
- // });
- // $(".team_slider").owlCarousel({
- // loop:true,
- // margin:10,
- // nav:false,
- // dots:true,
- // responsive:{
- // 0:{
- // items:1
- // },
- // 600:{
- // items:2
- // },
- // 1000:{
- // items:3
- // },
- // 1200:{
- // items:4
- // }
- // }
- // });
- // Select all links with hashes
- /*
- lexar - Software HTML5 Landing Page
- Author - nilssatasiya
- Project Version - v1.0
- */
- (function ($) {
- "use strict";
- //auto close navbar-collapse on click a
- $('.nav-item').on('click', function () {
- $('.navbar-toggler:visible').click();
- });
- $('a[href*="#"]')
- // Remove links that don't actually link to anything
- .not('[href="#"]')
- .not('[href="#0"]')
- .not('[href="#video-modal"]')
- .click(function(event) {
- // On-page links
- if (
- location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') &&
- location.hostname == this.hostname
- ) {
- // Figure out element to scroll to
- var target = $(this.hash);
- target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
- // Does a scroll target exist?
- if (target.length) {
- // Only prevent default if animation is actually gonna happen
- event.preventDefault();
- $('html, body').animate({
- scrollTop: target.offset().top
- }, 1000, function() {
- // Callback after animation
- });
- }
- }
- });
- })(jQuery);
- $(document).ready(function(){
- $('[data-toggle="tooltip"]').tooltip();
- });
- $(".loader_pre").fadeTo(1,1).fadeOut(1);
- })(jQuery);
|