Welcome Guest [Log In] [Register]
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
Topic Started: Jul 29 2003, 11:11 AM (8,778 Views)
Rpg Freak
Member
 *  
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
 
TecFreak
Buddy4u Moderator
 *  
can I see an example?
Offline Profile Quote Post Goto Top
 
Elmdor
Member
 *  
erm... it didn't work for me.. when you click on them nothing happens :(


... maybe i just had the .css files wrong
Offline Profile Quote Post Goto Top
 
George Jin
boooo
 *   *   *   *   *  
Wow. Sounds cool! But, does it actually work?
George :P
Offline Profile Quote Post Goto Top
 
Elmdor
Member
 *  
omg i finally got off my ass and figured out what i did wrong, and got it to work. this is the best hack i've come across so far! the skins actually stay at what you chose after you leave the site, close the page, or whatever, so they're the same when you come back.

If you wanna see it, take a look at my forums.
Offline Profile Quote Post Goto Top
 
Scott Booker
Member
 *  
how do i save them as css files?
Offline Profile Quote Post Goto Top
 
goddess funky
Member
 *  
i'm real dumb i sorta stuff..
i wanna know if someone can make me a skincollector with the skins i like.. :huh:
Cuz i have one now, but i really dont like the skins in it!!!

Is there anybody who can help me.....
plz contact me
you can pm on my board....


my board, if you wanna contact me... :)
Offline Profile Quote Post Goto Top
 
Zero Resistance
eÜil Zero lÖrd™
 *   *   *   *  
Can't you just have the SkinSelector.
Offline Profile Quote Post Goto Top
 
Jailer
Member
 *  
Elmdor
September 12, 2003 12:24 AM
omg i finally got off my ass and figured out what i did wrong, and got it to work. this is the best hack i've come across so far! the skins actually stay at what you chose after you leave the site, close the page, or whatever, so they're the same when you come back.

If you wanna see it, take a look at my forums.

Err doesn't work I see the links at the top but when I click I get error on page in the status bar :( FYI... I use IE6 on winXP SP2.

Jailer..
Offline Profile Quote Post Goto Top
 
wraith89
Member Avatar
Stranger
 *   *   *  
i've seen this. it's awesome! it shows a pull-down with skin names!
Offline Profile Quote Post Goto Top
 
RollEXE
Member Avatar
Member
 *  
I don't know what's wrong... it doesn't work....

Code you please help?

He's my code:

Quote:
 
<link rel='Great Boktai Day Skin' href='http://rollexe.angelfire.com/sunnyskin.css' title='1'>
<link rel='Alice's Easter Skin 2007' href='http://rollexe.angelfire.com/pinkpearl.css' title='2'>
<link rel='Bloody Night Halloween Skin 2007' href='http://rollexe.angelfire.com/bloodynight.CSS' title='3'>
<link rel='Liza's Winter Xmas Skin 2007' href='http://rollexe.angelfire.com/bluedaze.CSS' title='4'>
<link rel='Ursula's Chinese New Year Skin 2008' href='http://rollexe.angelfire.com/dragonmagnificence.CSS' 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;>Great Boktai Day</a>]
[<a href=javascript:setActiveStyleSheet('2'); return false;>Alice's Easter</a>]
[<a href=javascript:setActiveStyleSheet('3'); return false;>Bloody Night</a>]
[<a href=javascript:setActiveStyleSheet('4'); return false;>Liza's Xmas</a>]
[<a href=javascript:setActiveStyleSheet('5'); return false;>Ursula's New Year</a>]

</center></font></td></tr></table></td></tr></table></center>
Edited by RollEXE, Sep 5 2008, 02:40 AM.
Offline Profile Quote Post Goto Top
 
braggladies
Member
 *  
Take out your apostrophes in your words Alice's, Liza's, and Ursula's. Take those out and your skins will work. Great skins btw!
Offline Profile Quote Post Goto Top
 
TamaCool
Member Avatar
Tamagotchi Cool
 *  
Is there a preview?
Offline Profile Quote Post Goto Top
 
Soul_Seaker1
Member
 *  
sum1 update this ffs
Offline Profile Quote Post Goto Top
 
Gothic3
Member
 *  
First Where do you put this?

Code:
 
<link rel='Blackandred' href='http://finwesurion.angelfire.com/blackred.css' title='1'>
<link rel='Universe' href='http://finwesurion.angelfire.com/Universe.css' title='2'>
<link rel='Bluezee' href='http://finwesurion.angelfire.com/Bluezee.css' title='3'>
<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;>Black and red</a>]


</center></font></td></tr></table></td></tr></table></center>
[<a href=javascript:setActiveStyleSheet('2'); return false;>Universe</a>]
[<a href=javascript:setActiveStyleSheet('3'); return false;>Bluezee</a>]


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


Thats my code. It doesn't work how can I make it work?
Edited by Gothic3, Jul 4 2009, 12:42 AM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code Snippets · Next Topic »
Add Reply