[php] FYP
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
- <?php
- $var = '$(function () {
- "use strict";
- //======menu fix js======
- if ($(\'.main_menu\').offset() != undefined) {
- var navoff = $(\'.main_menu\').offset().top;
- $(window).scroll(function () {
- var scrolling = $(this).scrollTop();
- if (scrolling > navoff) {
- $(\'.main_menu\').addClass(\'menu_fix\');
- } else {
- $(\'.main_menu\').removeClass(\'menu_fix\');
- }
- });
- }
- //=========NICE SELECT=========
- $(\'.select_js\').niceSelect();
- //=======OFFER ITEM SLIDER======
- $(\'.offer_item_slider\').slick({
- slidesToShow: 3,
- slidesToScroll: 1,
- autoplay: true,
- autoplaySpeed: 4000,
- dots: false,
- arrows: true,
- nextArrow: \'<i class="far fa-long-arrow-right nextArrow"></i>\',
- prevArrow: \'<i class="far fa-long-arrow-left prevArrow"></i>\',
- responsive: [
- {
- breakpoint: 1400,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 1200,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 992,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 1,
- }
- },
- {
- breakpoint: 576,
- settings: {
- arrows: false,
- slidesToShow: 1,
- }
- }
- ]
- });
- //*==========ISOTOPE==============
- var $grid = $(\'.grid\').isotope({});
- $(\'.menu_filter\').on(\'click\', \'button\', function () {
- var filterValue = $(this).attr(\'data-filter\');
- $grid.isotope({
- filter: filterValue
- });
- });
- //active class
- $(\'.menu_filter button\').on("click", function (event) {
- $(this).siblings(\'.active\').removeClass(\'active\');
- $(this).addClass(\'active\');
- event.preventDefault();
- });
- //=======TEAM SLIDER======
- $(\'.team_slider\').slick({
- slidesToShow: 4,
- slidesToScroll: 1,
- autoplay: true,
- autoplaySpeed: 4000,
- dots: false,
- arrows: true,
- nextArrow: \'<i class="far fa-long-arrow-right nextArrow"></i>\',
- prevArrow: \'<i class="far fa-long-arrow-left prevArrow"></i>\',
- responsive: [
- {
- breakpoint: 1400,
- settings: {
- slidesToShow: 3,
- }
- },
- {
- breakpoint: 1200,
- settings: {
- slidesToShow: 3,
- }
- },
- {
- breakpoint: 992,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 576,
- settings: {
- arrows: false,
- slidesToShow: 1,
- }
- }
- ]
- });
- //=======DOWNLOAD SLIDER======
- $(\'.download_slider\').slick({
- slidesToShow: 4,
- slidesToScroll: 1,
- autoplay: true,
- autoplaySpeed: 3000,
- dots: false,
- arrows: false,
- responsive: [
- {
- breakpoint: 1400,
- settings: {
- slidesToShow: 3,
- }
- },
- {
- breakpoint: 1200,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 992,
- settings: {
- slidesToShow: 3,
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 576,
- settings: {
- slidesToShow: 1,
- }
- }
- ]
- });
- //=======COUNTER JS=======
- $(\'.counter\').countUp();
- //=======OFFER ITEM SLIDER======
- $(\'.testi_slider\').slick({
- slidesToShow: 2,
- slidesToScroll: 1,
- autoplay: true,
- autoplaySpeed: 4000,
- dots: false,
- arrows: true,
- nextArrow: \'<i class="far fa-long-arrow-right nextArrow"></i>\',
- prevArrow: \'<i class="far fa-long-arrow-left prevArrow"></i>\',
- responsive: [
- {
- breakpoint: 1400,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 1200,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 992,
- settings: {
- slidesToShow: 1,
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 1,
- }
- },
- {
- breakpoint: 576,
- settings: {
- arrows: false,
- slidesToShow: 1,
- }
- }
- ]
- });
- //=======BRAND SLIDER======
- $(\'.blog_slider\').slick({
- slidesToShow: 3,
- slidesToScroll: 1,
- autoplay: true,
- autoplaySpeed: 4000,
- dots: false,
- arrows: true,
- nextArrow: \'<i class="far fa-long-arrow-right nextArrow"></i>\',
- prevArrow: \'<i class="far fa-long-arrow-left prevArrow"></i>\',
- responsive: [
- {
- breakpoint: 1400,
- settings: {
- slidesToShow: 3,
- }
- },
- {
- breakpoint: 1200,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 992,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 1,
- }
- },
- {
- breakpoint: 576,
- settings: {
- arrows: false,
- slidesToShow: 1,
- }
- }
- ]
- });
- //*=======SCROLL BUTTON=======
- $(\'.tf__scroll_btn\').on(\'click\', function () {
- $(\'html, body\').animate({
- scrollTop: 0,
- }, 300);
- });
- $(window).on(\'scroll\', function () {
- var scrolling = $(this).scrollTop();
- if (scrolling > 500) {
- $(\'.tf__scroll_btn\').fadeIn();
- } else {
- $(\'.tf__scroll_btn\').fadeOut();
- }
- });
- //======= VENOBOX.JS.=========
- $(\'.venobox\').venobox();
- //*========STICKY SIDEBAR=======
- $("#sticky_sidebar").stickit({
- top: 10,
- })
- //=======OFFER ITEM SLIDER======
- $(\'.related_product_slider\').slick({
- slidesToShow: 4,
- slidesToScroll: 1,
- autoplay: true,
- autoplaySpeed: 4000,
- dots: false,
- arrows: true,
- nextArrow: \'<i class="far fa-long-arrow-right nextArrow"></i>\',
- prevArrow: \'<i class="far fa-long-arrow-left prevArrow"></i>\',
- responsive: [
- {
- breakpoint: 1400,
- settings: {
- slidesToShow: 4,
- }
- },
- {
- breakpoint: 1200,
- settings: {
- slidesToShow: 3,
- }
- },
- {
- breakpoint: 992,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 768,
- settings: {
- slidesToShow: 2,
- }
- },
- {
- breakpoint: 576,
- settings: {
- arrows: false,
- slidesToShow: 1,
- }
- }
- ]
- });
- //======wow js=======
- new WOW().init();
- //=======PRODUCT DETAILS SLIDER======
- if ($("#exzoom").length > 0) {
- $("#exzoom").exzoom({
- autoPlay: true,
- });
- }
- //=======SMALL DEVICE MENU ICON======
- $(".navbar-toggler").on("click", function () {
- $(".navbar-toggler").toggleClass("show");
- });
- });
- ';
Editor
You can edit this paste and save as new: