First, apologies up front, I just started futzing with javascript so be
prepared for naivate.
I have a web page, in a frame set, that has a table-menu bar in javascript.
It relies on the "movein" function attached to "onmouseover" to trigger the
chaninging of the elements background color, text color, and pointer when
the mouse moves over an element. On IE the code below works fine. In
firefox none of the movein function doesn't seem to be triggered (none of
the above effects occur) UNLESS I force a reload of the frame. Then
everyting works fine. Any ideas?
-----------------------------------------------
<script type="text/javascript">
<!--
function movein(which,html){
which.style.background='#4376A9'
which.style.color='#FFFF00'
which.style.cursor='pointer'
}
-->
</script>
-------------------------------------------
.....
Here I have one of the elments of a table that uses this function:
------------------------------
<td width="184" font color="#FFFFFF" class="menu" bordercolor="#C0C0C0"
id="choice1" style="background-color:#336699; cursor:pointer; color:FFFFFF;
font-size:10pt;"
onmouseover="movein(choice1,' ')"
onmouseout="moveout(choice1)"
onclick="parent.main.location.href='frmain.htm'">
Home
</td>
-------------------