Shisou Posted October 28, 2005 Share Posted October 28, 2005 basicly what i'm tring to do is change the color of the background at the location of a mouse over... does anyone know of a way that this can be done? Link to comment Share on other sites More sharing options...
Chocolate570 Posted October 28, 2005 Share Posted October 28, 2005 function mouseOver(){var color="Put Color Hex Here"document.body.bgcolor=color} Link to comment Share on other sites More sharing options...
Shisou Posted October 29, 2005 Author Share Posted October 29, 2005 function mouseOver(){var color="Put Color Hex Here"document.body.bgcolor=color}<{POST_SNAPBACK}> if i'm not mistaken that would change the entire background, i only want a specific area, maybe a few pixels in size, to change colors Link to comment Share on other sites More sharing options...
Naive Amoeba Posted November 2, 2005 Share Posted November 2, 2005 basicly what i'm tring to do is change the color of the background at the location of a mouse over... does anyone know of a way that this can be done?<{POST_SNAPBACK}> <head><style type="text/css">a {background: white;}a:hover {background: red;}<style></head><body><a href="#">Some example text</a></body> Actually, that only changes the background of the text. If you want to change the body's background then sorry, I don't know; you'd probably need to use javascript which would be hideous to your standards. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now