|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have 3 remotely hosted css files. These are basically my themes. I want a user to be able to select a theme, by an 'a href' link on my sidebar. How do i do this in Php code? I also want a defualt theme, but still allow the user to change it.....
Thank you! ![]() |
|
#2
|
||||
|
||||
|
|
|
#3
|
|||
|
|||
|
Quote:
I said that it'd worked there so people wouldn't post a message. thats why i made a new one. |
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
i deleted this one =D look to the next one.
Last edited by wannabe : August 28th, 2003 at 10:22 AM. |
|
#6
|
|||
|
|||
|
http://jerriko.net/template_change.php
that's the working example. hurry up and check it out =D cause it's not hosted on my server. and it's in the root dir. guy's gonna be pissed =D. here are the files i used -- temlate_change.php - name of this one doesnt matter PHP Code:
------------------------------ -- change.php - this one does the changing. it must be that name and separate file. since cookies arent applied until next page view =D u'll understand later. PHP Code:
then i used -- default.css code:-------------------------------------------------------------------------------- .table {background-color: #00eeff;} -------------------------------------------------------------------------------- ------------------ template1.css, template2.css those have the same line as default.css only color changes i mean you could have a different page for the template choices. so they can preview before using and the form stays there all the time. but that's more complicated =D goodluck
__________________
Free Random Signature , Avatar Hosting http://freebsd.munk.nu/ http://jez.hancock-family.com/ Last edited by wannabe : August 28th, 2003 at 10:25 AM. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Css / skin / template Help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|