Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function ($) {
- "use strict";
- $(document).ready(function(){
- /*---------------------
- menu active
- --------------------- */
- $(".menubtn").on('click', function(){
- $(".logomenu").slideToggle();
- });
- /*---------------------
- map button
- --------------------- */
- $(".hideclick").on('click', function(){
- $("#googleMap").slideToggle();
- $(".hideclick").css("display", "none");
- $(".showclick").css("display", "inline-block");
- });
- $(".showclick").on('click', function(){
- $("#googleMap").slideToggle();
- $(".hideclick").css("display", "inline-block");
- $(".showclick").css("display", "none");
- });
- /*---------------------
- onePage Nav
- --------------------- */
- $("#nav").onePageNav();
- /*---------------------
- screen short
- --------------------- */
- var owl = $('#owl-demo');
- owl.owlCarousel({
- loop:true,
- margin:0,
- nav:true,
- autoplay:false,
- smartSpeed:1000,
- navText: ["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
- responsive:{
- 0:{
- items:1
- },
- 600:{
- items:1
- },
- 750:{
- items:3
- },
- 1000:{
- items:3
- }
- }
- })
- /*---------------------
- scrollUp
- --------------------- */
- $.scrollUp({
- scrollText: '<i class="fa fa-angle-double-up"></i>',
- easingType: 'linear',
- scrollSpeed: 1000,
- animation: 'fade'
- });
- /*---------------------
- latest feature
- --------------------- */
- var carousel = $("#owl-dmo");
- carousel.owlCarousel({
- loop:false,
- autoplay:false,
- navigation : true,
- pagination:false,
- navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
- items : 3,
- itemsDesktop : [1199,3],
- itemsDesktopSmall : [979,3],
- itemsMobile : [767,1],
- });
- $('.showclick').on('click', function(){
- $(this).toggleClass('icondown');
- });
- });
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement