I am working on a project for grad school that has me creating a webpage that needs to have a small javascript element that I'm having a lot of trouble with.
I need to make a link in Javascript that lets the user hover over the link, and when the mouse is over it, the color changes from blue (the regular) to white, but when the text is rolled over, it needs to have a dark green highlight.
So I need to go from a regular blue hyperlink with no highlight to a white texted green highlighted hyperlink, using Javascript.
Hopefully someone out there can help, there is nothing in my textbook about it. I've been using these two resources from the internet, but cannot get it to work.
http://www.javascriptk it.com/script/script2/highlight.shtml
http://www.rgagnon.com/jsdetails/js-0055.html
Each do something that I need to do, but neiter do both at the same time and I'm trying to put them together but they do not work.
I need to make a link in Javascript that lets the user hover over the link, and when the mouse is over it, the color changes from blue (the regular) to white, but when the text is rolled over, it needs to have a dark green highlight.
So I need to go from a regular blue hyperlink with no highlight to a white texted green highlighted hyperlink, using Javascript.
Hopefully someone out there can help, there is nothing in my textbook about it. I've been using these two resources from the internet, but cannot get it to work.
http://www.javascriptk it.com/script/script2/highlight.shtml
http://www.rgagnon.com/jsdetails/js-0055.html
Each do something that I need to do, but neiter do both at the same time and I'm trying to put them together but they do not work.
Comment