CSS changing?


Recommended Posts

Hows it done? basically im busy creating a website for uni and for future use aswell, basically a portfolio. Im just wondering though, not everybod likes the Style ive got it (red and black and whatnot)

How can i create a link so when clicked it will change the Style Sheet the website is using, so i can include multiple "Skins"

thankyou

Link to comment
Share on other sites

if you want it to be more functional you could do the style switching server side and then use AJAX to dynamically update the page. that way those with JS disabled will still be able to change stylesheets, but just needs a page refresh.

Link to comment
Share on other sites

  • 2 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.