I have my default "scaffold.css" that loads when the page loads, however I would like to be able to dynamically change the CSS sheet by clicking a link. I tried wrapping the stylesheet like below: <head> <div id="css-theme"> <link rel="stylesheet" href="/stylesheets/scaffold.css" type="text/css" media="screen" /> </div> </head> and then using link_to_remote to update the "css-theme" div, but that did work exactly as I was expecting. Can someone give me some ideas as to how I can do this? I wouldn't think it would be too hard.
on 2006-06-09 15:30