Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2005-10-16 13:55:27
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
How easy would this be to do?
I want to adapt an existing style sheet switcher like this one to change site style when just one element is clicked.
What I want is when the logo of my site is clicked it changes to the next the style sheet.
Brown.css < starts here
Red.css < click on logo brown.css switches to red.css
Green.css < clicked again red switches to green
Yellow.css < green switches to yellow
Brown.css < And back to brown
I have next to no knowledge PHP how easy do you think this would be to make? Could you make it for me (pretty please)?
Last edited by FireFusion (2005-10-16 14:07:09)
Offline
Re: How easy would this be to do?
That should not be too hard to do. I don’t have time just at the moment but have a look at this <a href=“http://www.digital-web.com/articles/strategies_for_css_switching/”>Stuff and Nonsense article</a>. The PHP style switcher is short and sweet and I think you could follow it without any php knowledge.
Are you sure you want your logo to act as your switching button? It would be non-standard as logo usually takes you to home page.
Offline
#3 2005-10-16 16:51:10
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: How easy would this be to do?
Thank you. It’s not the main site logo, btw.
Offline
Offline
Pages: 1