FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Handling Css using Javascript

 


hellrahul
Hey This is Rahul. Very Happy
I want to know how to controll css properties using javascript.
like
if I have to css file for different look of web page and i want to change the look of the page just when user click on a text. what should i do then ?

or i want to change the look of backgroungd, text colour, a, a:hover , alinked , ul etc . just on one click. what code sholud i insert.

Plz Help me???? Pray Pray Pray Pray Pray Pray Pray Pray Pray

I want some tutorials on controlling css using javascript. Rolling Eyes
mathiaus
Good one here. Not the easiest to follow but not to complicated either
http://www.spoono.com/javascript/tutorials/tutorial.php?url=styleswitching
working example -
http://www.spoono.com/javascript/tutorials/styleswitching/example.htm

Hope that helps
matt Cool
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.