Mt. Moon Community

Full Version: Skin changer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can anybody give me some JavaScript that will change the stylesheet AND the images on a forum, plus save the data as a cookie?
And to change images on a forum isn't hard with a style switcher. You just state background images for forum markers/logo/etc. in the CSS style sheet you wish the buttons to apply to.
Saving the data on a cookie is an automatic process done by Javascript. Plus, the internet itself is a cookie logging all actions/activities.

http://www.alistapart.com/articles/alternate/
Okay, I'll see if making the images background images changes anything. Thanks for the tip, I'll post back with results.

EDIT:

Thanks a ton. It works, but since it's a background image, it cannot be clicked to link to anything...Fix this how? I was thinking make it the background with css and them use an invisible GIF with HTML to click on.
Backgrounds weren't meant to link to anything.

You can use javascript and edit the section that holds the background image and put this:
onclick='window.location="http://www.google.com"' where the thing is. Of course, replace google with whatever your link s hould be.
Reference URL's