473,399 Members | 3,832 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,399 software developers and data experts.

Overlayed div's & mouseover event

3
Hi all,

If I absolutely position div 'B' (z-index:2) over the top of div 'A' (z-index:1) so that div 'A' is completely obscured by div 'B', is there any way I can detect a mouseover of the obscured div 'A' ?

Regards,
zer0x
Nov 13 '07 #1
4 1478
iam_clint
1,208 Expert 1GB
The simple answer is no.

The long answer is kind of.

you can monitor where the mouse is on the page and manually decide if its over that element.
Nov 13 '07 #2
zer0x
3
Thank you Clint, quick reply!
Looks like I'm going to have to change my entire approach somewhat!

Regards,
zer0x
Nov 13 '07 #3
zer0x
3
you can monitor where the mouse is on the page and manually decide if its over that element.
I have managed to implement this solution with a little help from jQuery/UI.
It works surprisingly well, I was expecting a great deal of lag and/or bad behavior!

Thanks again Clint! I would probably still be searching for a non-existent solution if it was not for your quick reply!

Is it worth me posting the relevant code here? even though it is jQuery/UI ?

Regards,
zer0x
Nov 16 '07 #4
acoder
16,027 Expert Mod 8TB
Is it worth me posting the relevant code here? even though it is jQuery/UI ?
Well, why not? It might help someone with a similar problem.
Nov 17 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Patrice | last post by:
There seems to be a bug with the events mouseOut and mouseOver of divs when their position is fixed : when you enter the div with the mouse, three events are fired in this order : over, out, over....
10
by: David | last post by:
Hi everyone, Hoping there are some .js/browser experts out there that can help with this weird problem. I have made a swap div routine and applied the events to menu buttons with a closer...
6
by: Gordowey | last post by:
Where can I find this DIV effect. go to: http://www.amazon.com Put mouse over the text "See All 32 Product Categories" (Top-Middle)..it will open a window with a cool effect... does anyone...
3
by: pamelafluente | last post by:
Hi dears, I have a DIV (with some colorful background). On top of this DIV I have another DIV entirely contained and having a transparent background. Both div absolutely positioned. ...
2
by: John A. | last post by:
Hello. I'm trying to have an image (a GIF with transparency) overlayed on certain of several inline images that link to different pages. What I have so far looks right (or right enough) in...
4
by: jobs | last post by:
the javascript: function ShowTooltip(L1in) { document.getElementById("L1").innerText=L1in; y = event.clientY + document.documentElement.scrollTop; var Popup= document.getElementById("Popup")...
2
by: Richard Maher | last post by:
Hi, I'm trying to use the Visibility Style attribute for a Div to effectively PopUp a lightweight window with some additional context-sensitive information, when a user mouses over a given...
0
by: Microsoft Newsserver | last post by:
OK guys I know this isnt a javascrip forum, but I am building a .net application on the web so, it kinda lets me ask the question at least :) I have the following constructs *************...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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...

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.