We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE] Skin Switcher 1.0; By Rpg Freak
Topic Started: Jan 23 2010, 01:00 AM (153 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Rpg Freak
[CODE
 
Skin Switcher 1.0]This was originally created by Syphonic Killer for message boards.

Make sure you have a host that can host .css files
If you need one go to www.angelfire.com to get one or contact me.


Here is how it works.
Upload all your .css to your host then wherever you see stylesheetlink replace it with the url of the css.
The first stylesheetlink will be your default one,
the next four will be your alternates, remember all links must end in .css

Wherever you see skin title replace with the name of that skin, the first is your first and so on I will have a sample up soon but it does work.



In Headers
Code:
 

<link rel='stylesheet' href='StyleSheetLink' title='1'>
<link rel='alternate stylesheet' href='StyleSheetLink' title='2'>
<link rel='alternate stylesheet' href='StyleSheetLink' title='3'>
<link rel='alternate stylesheet' href='StyleSheetLink' title='4'>
<link rel='alternate stylesheet' href='StyleSheetLink' title='5'>
<script src='http://universalpalace.net/Sy/styleswitcher.js'></script>

<center><tr><td><table class='bordercolor' ' width='92%' cellpadding='3' cellspacing='1'><tr>
<td colspan='2' align='center' valign='top' class='titlebg'>
<font class='text1' size='1'><b>Change Skins</b></font></td></tr>
<tr><td align='left' valign='top' width='50%' class='windowbg2'><font size='1' face='Verdana, Arial,'>
<center>

[<a href=javascript:setActiveStyleSheet('1'); return false;>Skin Title</a>]
[<a href=javascript:setActiveStyleSheet('2'); return false;>Skin Title</a>]
[<a href=javascript:setActiveStyleSheet('3'); return false;>Skin Title</a>]
[<a href=javascript:setActiveStyleSheet('4'); return false;>Skin Title</a>]
[<a href=javascript:setActiveStyleSheet('5'); return false;>Skin Title</a>]

</center></font></td></tr></table></td></tr></table></center>


This was made at universalpalace.net/Sy/forum by Syphonic Killer.


Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply