Server IP : 103.53.40.154 / Your IP : 18.216.42.122 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/ltbuildcon.com/../ntimachinery.com/js/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
(function ($) { "use strict"; $('.color-trigger').on('click', function () { $(this).parent().toggleClass('visible-palate'); }); $('.color-palate .colors-list .palate').on('click', function() { var newThemeColor = $(this).attr('data-theme-file'); var targetCSSFile = $('link[id="theme-color-file"]'); $(targetCSSFile).attr('href',newThemeColor); $('.color-palate .colors-list .palate').removeClass('active'); $(this).addClass('active'); }); var layoutChangerBtn = $(".color-palate .box-version li"); var body = $("body"); layoutChangerBtn.on("click", function(e) { var $this = $(this); if ( $this.hasClass("box") ) { body.addClass("box-layout"); } else { body.removeClass("box-layout"); }; }); var directionChanger = $(".color-palate .rtl-version li"); var wrapper = $(".page-wrapper"); directionChanger.on("click", function(e) { var $this = $(this); if ( $this.hasClass("rtl") ) { wrapper.addClass("rtl"); } else { wrapper.removeClass("rtl"); }; }); }(jQuery));