Go4Expert

Go4Expert (http://www.go4expert.com/)
-   JavaScript and AJAX (http://www.go4expert.com/forums/javascript/)
-   -   Change background color of webpage by mouse over the color (http://www.go4expert.com/forums/change-background-color-webpage-mouse-t29849/)

Nishant24 5Oct2013 20:40

Change background color of webpage by mouse over the color
 
Hey, guys.,, I am in 12th class and I was a given a question in my computer practical exam to write a script in javascript that changes background color of the webpage when mouse cursor is over the link of the particular color.
For eg. We created a link naming red and when we put our mouse cursor over that link, the background color changes to red instead of white.
And further I was asked that if we move the cursor from that link the background color should again change to white from red.
Help me friends.... the first scritp I wrote but after moving the cursor from that link it still remains red only, I mean the background of the webpage.

Help guys..
Thanks

shabbir 5Oct2013 20:51

Re: Change background color of webpage by mouse over the color
 
Show us some efforts on what you have tried.


All times are GMT +5.5. The time now is 07:11.