Question about style switcher!

Question about style switcher!

Hey you guys, I really am a jquery beginner and I would like to know if the following is possible
I have a simple style switcher and I would really like to fade in the styles :)

This is what I have now

  1. $(document).ready(function() {
    // style1
    $("#style1").click(function() {
    $("link[rel=stylesheet]").attr({href : "style1.css"});
    });

    // style1
    $("#style1").click(function() {
    $("link[rel=stylesheet]").attr({href : "style1.css"});
    });

    // style2
    $("#style2").click(function() {
    $("link[rel=stylesheet]").attr({href : "style2.css"});
    });
    });














Thanks in advance!