newbiecat Posted August 14, 2009 Share Posted August 14, 2009 Can anyone help me write the code necessary to do the following: 1) Create an html table that displays a vertical list of red, bue, green, purple. 2) Create an associative array that holds the data: red display message is Red is crazy. blue display message is Blue is calming. green display message is Green is rich. purple display message is Purple is for plums. 3) Using mouseover and mouseon, display the message corresponding to the color you hover over in the span below the table. Using css, the message when hovering over blue should be blue in color. For instance: red blue green purple Blue is calming. (this message displays under list of colors when hovering over blue and displays in blue) Quote Link to comment Share on other sites More sharing options...
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.