FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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
Related topics
Okay, I'm done trying to use CSS for layout.
A Useful Javascript
CSS or Javascript?
Howto centre an object vertical using css?
JavaScript Overlaps
Java tutorials
Rotate images using css?
Where;s better way using javascript link or write inside htm
Need help for css (using firebug)
Using Javascript to Encrypt Data then POST to PHP
Assign unique rank in html form using javascript possibly?
help needed with css & javascript
Where do you stand on using Javascript in websites?
CSS Quotation Help
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

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