You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
/*==============================
|
|
STYLE SWITCHER SCRIPT INSTALLATION
|
|
===============================*/
|
|
|
|
(function($) {
|
|
"use strict";
|
|
|
|
$(".style1" ).on("click", function(){
|
|
$("#colors" ).attr("href", "css/styles.css" );
|
|
$("#main_logo" ).attr("src", "img/logos/logo.png" );
|
|
return false;
|
|
});
|
|
|
|
$(".style2" ).on("click", function(){
|
|
$("#colors" ).attr("href", "css/styles-2.css" );
|
|
$("#main_logo" ).attr("src", "img/logos/logo-2.png" );
|
|
return false;
|
|
});
|
|
|
|
$(".style3" ).on("click", function(){
|
|
$("#colors" ).attr("href", "css/styles-3.css" );
|
|
$("#main_logo" ).attr("src", "img/logos/logo-3.png" );
|
|
return false;
|
|
});
|
|
|
|
$(".style4" ).on("click", function(){
|
|
$("#colors" ).attr("href", "css/styles-4.css" );
|
|
$("#main_logo" ).attr("src", "img/logos/logo-4.png" );
|
|
return false;
|
|
});
|
|
|
|
$(".style5" ).on("click", function(){
|
|
$("#colors" ).attr("href", "css/styles-5.css" );
|
|
$("#main_logo" ).attr("src", "img/logos/logo-5.png" );
|
|
return false;
|
|
});
|
|
|
|
$(".style6" ).on("click", function(){
|
|
$("#colors" ).attr("href", "css/styles-6.css" );
|
|
$("#main_logo" ).attr("src", "img/logos/logo-6.png" );
|
|
return false;
|
|
});
|
|
|
|
})(jQuery);
|
|
|