Changing styles of a site.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ragou
Forum Newbie
Posts: 2
Joined: Sat Oct 25, 2008 5:01 am

Changing styles of a site.

Post by ragou »

Hi,
I have a small website. How can I do to change style dynamically. For example if I click on link
style1 then style1.css becomes default. If I click on link2 ->style2.css becomes default etc.
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: Changing styles of a site.

Post by jaoudestudios »

It depends on how you have setup your site and what language you want to use.

You can either use php or javascript.
ragou
Forum Newbie
Posts: 2
Joined: Sat Oct 25, 2008 5:01 am

Re: Changing styles of a site.

Post by ragou »

It doesn't matter for me in what programming language I have to use - PHP or js.
Post Reply