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

Home Posts Topics Members FAQ

mouseout and checkboxes


I have the following problem:

I have a button with an onmouseover event. This event fires as
expected and displays another div element when the mouse hovers over
the button.

The div element which is then displayed uses an onmouseout event that
sets its style to display:none when the mouse cursor goes out of the
element. This is also working fine as expected.

However, the displayed div element has a few checkboxes inside. And as
soon as the cursor reaches one of these checkboxes the mouseout event
is fired. The result is: the checkboxes are never clickable in this
case.

The example could be seen here:

http://xxamples.googlepages.com/exa.html

Can somebody

1. explain the reason, why the mouseout event fires when the mouse is
inside of one of the checkboxes (It seems that the cursor is no more
inside of the div element).

2. give me a hint or a solution how to avoid that, so that the
checkboxes are clickable. (But without removing the mouseout event
completely, so that the event is only fired when the cursor moves out
of the element.)

Nov 13 '08 #1
1 1398
Proper wrote:
However, the displayed div element has a few checkboxes inside. And as
soon as the cursor reaches one of these checkboxes the mouseout event
is fired. The result is: the checkboxes are never clickable in this
case.
See http://www.faqts.com/knowledge_base/...d/1606/fid/145

--

Martin Honnen
http://JavaScript.FAQTs.com/
Nov 13 '08 #2

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

Similar topics

3
by: John | last post by:
Imagine this: I have a gif-image with text, coloured green. When MouseOver occurs the gif will swap to another gif with red colourded text. On MouseOut the gif turns back to the green text. ...
2
by: Matt Colegrove | last post by:
How does one set a Mouseover/Mouseout event on a cell in a GridView? I can successfully assign these events to be active on a row in a GridView. I can do this with a DataGrid, by adding code to...
4
by: the other john | last post by:
I have a function that is activated by a mouseover. The function triggers an image rotation. I need to stop the rotation on the mouseout but I don't know how to do this. the mouseover triggers...
1
by: vikraman | last post by:
Request the script for Mouseover dispy of text at specific coordinats of an image/body and Mouseout disply of original image/body
4
by: anj | last post by:
please provide me a syntax / command on how to create this tooltip (mouseover and mouseout) complete command. so i can apply it on my project.. please help me.. tnx
1
by: KidBrax | last post by:
I have a menu that shows a div containing ULs whenever you mouseover the respective menuitems. And when you mouseout of the appearing div the div is hidden. Within the appearing div are one or...
2
by: markszlazak | last post by:
Could someone check out the following code and please help me understand the problem and fix it. It seems like some events are not firing when my mouse moves over the table cells to quickly causing...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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: 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.