473,322 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

onmouseover only activates in firefox if I reload

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>

-------------------
Dec 6 '05 #1
1 1732
The page in question was the "contents" page of my frame set. If I give
that URL directly (so I'm executing the contents frame with the menubar
outside of the frameset) then it all works fine. So I guess there's some
focus type issue the frames or something and this interacts with javascript
in some odd way but only for firefox?
Dec 6 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Epetruk | last post by:
Hi all, I want a page where the contents of a table cell are replaced with an image when the mouse moves over the cell, and the text is restored when the mouse moves out. Here's the html for the...
17
by: Christopher Nelson | last post by:
I have a menu tree made up of anchors inside list items in a multi-level list that includes HTML like: <ul id='xx'> <li><a href='conf.cgi' class='menu' target='main' title='Configure stuff'...
1
by: Jordan | last post by:
I set the cursor property to change to the "hand" when the user performs an "onmouseover" event on a hyperlink object. This does work correctly with Internet Explorer, however, with Netscape and...
5
by: Martin Chen | last post by:
I have a frame set (as per MS FrontPage 2000). It has a contents and a main frame. The contents frame has a menu bar written with with javascript (in the context of a table). In IE6.1 everything...
1
by: Ciuin | last post by:
Again I need your help. This is the test page I am working on: http://www.manfredkooistra.de/zeugs/test/test.php Description: The page shows a centered image and a navigation menue...
4
by: iamaporkaholic | last post by:
The main page of the site has this script which determines the language settings of the OS. This works fine for IE but not for firefox. Is there any other codes which i have to insert to make sure...
9
by: octophobik | last post by:
Hello, I have a PHP page that populates the page with images and a little bit of text under each image based on who's session is accessing the page. It also has for each image an...
7
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the...
3
by: linuskamb | last post by:
It seems, at least as far as my tests show, that Safari does not fire onmouseover for select options. with the code below, I can get all the messages in Firefox, but none in Safari. If I attach a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.