Shisou 0 Posted October 28, 2005 Report 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? Quote Link to post Share on other sites
Chocolate570 45 Posted October 28, 2005 Report Share Posted October 28, 2005 function mouseOver(){var color="Put Color Hex Here"document.body.bgcolor=color} Quote Link to post Share on other sites
Shisou 0 Posted October 29, 2005 Author Report 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 Quote Link to post Share on other sites
Naive Amoeba 0 Posted November 2, 2005 Report 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.