Simple way to change stylesheet:

$("#StyleContrast").click(function() {
   $("link[media='screen']").attr("href", "Contrast.css");
 });
 
 $("#StylePrint").click(function() {
   $("link[media='screen']").attr("href", "Print.css");
 });
 
 $("#StyleNormal").click(function() {
   $("link[@media='screen']").attr("href", "Normal.css");
 });

Leave a reply

Your email address will not be published.