View Full Version : Changing Themes


Laura87
05-08-2003, 10:46 PM
I know I've seen this around...but I'm not sure whether it uses CSS or Javascript. What's the code for allowing users to change the theme on the website- so that the content is the same but there is a different skin?

zangerbanger
05-08-2003, 10:56 PM
I think you mean background:

<body background="image.jpg">


substitute the bold with your own information.

Elentari
05-08-2003, 11:00 PM
No...that's not what they mean. I've seen it before too but I have no clue how to do it (though I don't think you can change your entire layout, just certain aspects of it).

I saw a blog once that had it, it allowed the user to pick the font, font size, background colour and such things so that it was whatever you wanted it to be.

zangerbanger
05-08-2003, 11:05 PM
I tried to find something, here's what I found. I don't know if it's what you're looking for:

<form name="BackgroundColor"
method="post">
<input type="button"
OnClick="document.bgColor='HEX CODE';
"value="TEXT HERE">
<input type="button"
OnClick="document.bgColor='HEX CODE';
"value="TEXT HERE">
<input type="button"
OnClick="document.bgColor='HEX CODE';
"value="TEXT HERE"></form>

substitute your own information for "HEX CODE"

Laura87
05-09-2003, 01:56 AM
Yeah, that would change the bg color. But the code(s) I'm talking about actually change the bg image and the color of the tables/frames etc. It's like a whole other layout that you can apply to your information. But I don't think you make another page with that layout and then send the viewer there...you just use a code to alter the current page with CSS or something. I'll try to find an example...

lefty
05-09-2003, 02:27 AM
pick-me.net (http://pick-me.net) is an example, I just can't find the code anywhere!

Elentari
05-09-2003, 03:10 PM
Originally posted by lefty2217
pick-me.net (http://pick-me.net) is an example, I just can't find the code anywhere!

Regarding pick-me.net....is it always down lately or something because ever since I' heard about it a little over a week ago I try at least once a day to go on the site and it never ever loads....

starlet
05-09-2003, 03:40 PM
http://www.domesticat.net/skins/howto.php

lefty
05-09-2003, 04:34 PM
Originally posted by Elentari
Regarding pick-me.net....is it always down lately or something because ever since I' heard about it a little over a week ago I try at least once a day to go on the site and it never ever loads....

Really? Always works for me... *scratches head*

Elentari
05-09-2003, 04:38 PM
Must dislike me or something then *cries*. I just tried it yet AGAIN and nada...just wont load at all...it hangs and hangs until it times out.

designhazard
05-19-2003, 10:00 AM
does you host support php? if does, you go to this page: http://alistapart.com/stories/phpswitch/ . you will need to make some .css files. an example site using this is at: http://thefanlistings.org