|
I thought of a way, but I don't know if works in the right places of the code.
The idea I had, was set a cookie when the page loads, unless a cookie already exists. The cookie would set the page to use the default stylesheet. But there would be a pull down index where the user could change what stylsheet is being used. When the sheet is selected from the list, it resets the cookie.
The whole point of the cookie, is to call for the desired stylesheet. The deal is, I don't think it's possible to call a stylesheet anywhere other than the head, and I don't know if you can use cookies in the head. But I'm relatively new to JS, which is why I was asking this question in the first place...
Anyone?
|