473,473 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

IE onMouseOut bug when associated with a <table>?

Try out the following code:
<html>
<body>
<table onMouseOut="alert('out');" width="50%" height="50%"
bgcolor=yellow><tr><td>
<table width="100%" height="100%"><tr valign=middle>
<td align=center bgcolor=lightblue>1</td>
<td align=center bgcolor=palegreen>2</td>
</tr></table>
</td></tr></table>
</body>
</html>

The outer table only has one cell which contains the inner table, and the
onMouseOut handler is associated with this outer table. Yet, the handler gets
triggered when you move between the cells of the inner table. Am I going
crazy, or is this some kind of bug in IE? I even tried wrapping the inner
table inside <div> tags, instead of an outer table and it did the same thing.
I would like to trigger the handler only when the mouse pointer leaves the
entire area, not each individual cell.

-Eric
Jul 20 '05 #1
1 4855
"Eric Adem" <ec****@megapathdsl.net> wrote in message
news:10*************@corp.supernews.com...
Try out the following code:
<html>
<body>
<table onMouseOut="alert('out');" width="50%" height="50%"
bgcolor=yellow><tr><td>
<table width="100%" height="100%"><tr valign=middle>
<td align=center bgcolor=lightblue>1</td>
<td align=center bgcolor=palegreen>2</td>
</tr></table>
</td></tr></table>
</body>
</html>

The outer table only has one cell which contains the inner table, and the
onMouseOut handler is associated with this outer table. Yet, the handler gets triggered when you move between the cells of the inner table. Am I going
crazy, or is this some kind of bug in IE? I even tried wrapping the inner
table inside <div> tags, instead of an outer table and it did the same thing. I would like to trigger the handler only when the mouse pointer leaves the
entire area, not each individual cell.


This sounds a little bit like event bubbling in the DOM:
http://www.w3.org/TR/2000/REC-DOM-Le...-flow-bubbling

But I could be wrong.
Regards,
Peter Foti
Jul 20 '05 #2

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

Similar topics

1
by: Philo | last post by:
How do I select all <div> tags except those which contain a <table> tag somewhere within them? Example XML: <********************** sample input ***********************> <txtSectionBody>...
8
by: bearclaws | last post by:
I am looping through a list of categories and want to display the list horizontally (instead of vertically). I want to create a single row with 4 list items in each cell of the row. I thought...
61
by: Toby Austin | last post by:
I'm trying to replace <table>s with <div>s as much as possible. However, I can't figure out how to do the following… <table> <tr> <td valign="top" width="100%">some data that will...
19
by: CMAR | last post by:
I have the following markup. The problem is that the browser, e.g., IE6, inserts several lines of blank space between the <div> and the following table. Is there a way to minimize that vertical...
2
by: listaction | last post by:
Hi Folks, can you help me by explaining how the code below can be translated using <div> and achieve the same effect? Thanks, LA <html> <body> <table bgcolor="#000000" width="100%"...
4
by: He Shiming | last post by:
Hi, I'm wondering how can I use <DIV> to mimic a <TABLE>. In a bare <TABLE> without a width attribute, the width of the table get dynamically expanded according to the content. However, <DIV>...
10
by: BuddhaBuddy | last post by:
Platform is DB2/NT 7.2.9 The table was created like this: CREATE TABLE MYTEST ( MYTESTOID bigint not null primary key, FK_OTHEROID bigint not null references other, FK_ANOTHEROID bigint not...
1
by: prefersgolfing | last post by:
I'm not using Master Pages, yet I'd like to display the contents of an HTML page within a <table><tr><td> on a .aspx. I have a lengthy guide already paginated in html. I'd like to embed the...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.