File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/backup2609/yogi/assets/node_modules/styleswitcher/jQuery.style.switcher.js
Back
// Theme color settings $(document).ready(function(){ function store(name, val) { if (typeof (Storage) !== "undefined") { localStorage.setItem(name, val); } else { window.alert('Please use a modern browser to properly view this template!'); } } $("*[data-theme]").click(function(e){ e.preventDefault(); var currentStyle = $(this).attr('data-theme'); store('theme', currentStyle); $('#theme').attr({href: 'css/colors/'+currentStyle+'.css'}) }); var currentTheme = get('theme'); if(currentTheme) { $('#theme').attr({href: 'css/colors/'+currentTheme+'.css'}); } // color selector $('#themecolors').on('click', 'a', function(){ $('#themecolors li a').removeClass('working'); $(this).addClass('working') }); }); function get(name) { } $(document).ready(function(){ $("*[data-theme]").click(function(e){ e.preventDefault(); var currentStyle = $(this).attr('data-theme'); store('theme', currentStyle); $('#theme').attr({href: 'css/colors/'+currentStyle+'.css'}) }); var currentTheme = get('theme'); if(currentTheme) { $('#theme').attr({href: 'css/colors/'+currentTheme+'.css'}); } // color selector $('#themecolors').on('click', 'a', function(){ $('#themecolors li a').removeClass('working'); $(this).addClass('working') }); });
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings