React and ToChoose Functions for a Menu for All Browsers
React and ToChoose Functions for a Menu for All Browsers (Page 1 of 4 )
The react() Function Details
The arguments for this function are not really the ones we saw in the previous series. This function is called when the mouse pointer goes over a drop down menu or sub menu item. Each of the cells for these items has an onmouseover event attribute. One of attributes is:
onmouseover = "react('TD11','1','sub','5')"
Now let us look at the function. Here it is:
//first make sure all background colors of the sub menu cells are brown.