473,569 Members | 3,009 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

(high) Layers and mouse events

I have been playing with a page design that would use a 'circular'
area in the middle rather than the standard boring square box world
of tables and frames. I have the design itself layed out using a
couple of 'div' layers including transparent gifs in 'higher' zIndex
layers to create the circular 'window' to the lower layers.

But now I am learning that although I can see the HTML on the lower
layer, the transparent gif layer above it is intercepting all the of
the mouse activity and thus I can't click any links, and/or access any
forms without using tab and spacebar.

Is there any easy way to pass the mouse events through to the lower
layer and/or to have the higher layer ignore them entirely so the
lower layers can receive them where appropriate?

KL
Jul 20 '05 #1
2 6240
Catherine,
The problem you have is focus. because the layer with the circle has the
focus - having a higher z index, lowering the z index of course defeats the
purpose :(

the only get around i can think of would be to disguise the upper layer -
and use the area tag to create the impression of browsers clicking on the
lower table.

hope this helps

Simon Christie

why not just 'image-map' the top adiv, lining the area maps with the
existing areas in the lower below
"Catherine Lynn Smith" <kl*****@hotmai l.com> wrote in message
news:5f******** *************** **@posting.goog le.com...
I have been playing with a page design that would use a 'circular'
area in the middle rather than the standard boring square box world
of tables and frames. I have the design itself layed out using a
couple of 'div' layers including transparent gifs in 'higher' zIndex
layers to create the circular 'window' to the lower layers.

But now I am learning that although I can see the HTML on the lower
layer, the transparent gif layer above it is intercepting all the of
the mouse activity and thus I can't click any links, and/or access any
forms without using tab and spacebar.

Is there any easy way to pass the mouse events through to the lower
layer and/or to have the higher layer ignore them entirely so the
lower layers can receive them where appropriate?

KL

Jul 20 '05 #2
Well the problem is that the inner 'window' portion is going to be a
generic content frame - probably in iframe layer as I am still not
finding an easy way to include newly introduced scripting or ASP items
without a fuss in a 'loaded' context for a DIV layer. As a result,
the 'content' in the center area might as well be considered as
undefined or unknown as far as the program layer or the outer 'frame'
of HTML is concerned.

I am hoping not to have to slice up the inner 'corner' peices if at
all possible as I am still having a fuss of a time finding a way to
track the bottom and right sides with the inside peices of the
corners. At least by cutting it down to peices like that, it means
the layer covers less of that internal window, but in the event that I
have to go to scripting to move the right and bottom facets of the
frame portions, that would be a nightmare if those peices were cut up
into multiple slices....

KL

"steve stevo" <st***@stevoste ve.fsnet.co.uk> wrote in message news:<bk******* ***@newsg1.svr. pol.co.uk>...
Catherine,
The problem you have is focus. because the layer with the circle has the
focus - having a higher z index, lowering the z index of course defeats the
purpose :(

the only get around i can think of would be to disguise the upper layer -
and use the area tag to create the impression of browsers clicking on the
lower table.

hope this helps

Simon Christie

why not just 'image-map' the top adiv, lining the area maps with the
existing areas in the lower below
"Catherine Lynn Smith" <kl*****@hotmai l.com> wrote in message
news:5f******** *************** **@posting.goog le.com...
I have been playing with a page design that would use a 'circular'
area in the middle rather than the standard boring square box world
of tables and frames. I have the design itself layed out using a
couple of 'div' layers including transparent gifs in 'higher' zIndex
layers to create the circular 'window' to the lower layers.

But now I am learning that although I can see the HTML on the lower
layer, the transparent gif layer above it is intercepting all the of
the mouse activity and thus I can't click any links, and/or access any
forms without using tab and spacebar.

Is there any easy way to pass the mouse events through to the lower
layer and/or to have the higher layer ignore them entirely so the
lower layers can receive them where appropriate?

KL

Jul 20 '05 #3

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

Similar topics

5
6206
by: John Champaign | last post by:
Hi all, I'm working on an educational applet for a child with special needs. He's got a bit of a trick to make my life more difficult... To interact with the applet he needs to click on buttons, which is fine most of the time (he comes from a Mac environment, so I accept mouse clicks from the right or left button when he's working on the...
0
2666
by: Stephen Williams | last post by:
I am migrating a VB 6 PictureBox control to VB.NET. In VB 6, this control modified its border style during the mouse down and up events to provide user feedback that it was selected. Once selected its position was adjusted in accordance with the mouse move events. After migrating it to VB.NET I tried setting the PictureBox class's...
1
9736
by: Jean-Gael GRICOURT | last post by:
I am trying to capture mouse events when entering and leaving a DIV layer. This test code works fine with IE 6.0 and Opera 7.21 but fails with Mozilla/Netscape. The strange thing is that the mouse events respond continuously whenever the mouse is moving inside the DIV area. Does anybody have a clue about what is happenning ? J2G
2
2058
by: Catherine Lynn Smith | last post by:
I have been playing with a page design that would use a 'circular' area in the middle rather than the standard boring square box world of tables and frames. I have the design itself layed out using a couple of 'div' layers including transparent gifs in 'higher' zIndex layers to create the circular 'window' to the lower layers. But now I...
8
2543
by: rdlebreton | last post by:
Hi, Folks! I've been trying to develop my own version of these draggable layers and I have been limiting myself to IE6...for now. I have looked at some other examples to get ideas of creating an alternative to pop-up windows in a web page. The code I have works (sort of). The problem is that I can move these layers around when I move the...
3
10553
by: red | last post by:
mouse events when the mouse is on a "child control" hi everyone; my problem: I have a userControl in this usercontrol, I have a child control (a button) when the mouse moves over the userControl, I can detect the movement using MouseMove event. the problem is when the mouse is on the child control : I can t detect
5
3755
by: Bill Henning | last post by:
Does anyone know a good method of preventing keyboard and mouse events from interrupting processing? My situation is: 1) I need to track and handle all key and mouse events 2) I need to perform processing on certain key/mouse events 3) If key/mouse events interrupt processing, the events should not be discarded since they need to be...
3
4475
by: Rick Strahl [MVP] | last post by:
I'm working on an app that's using the WebBrowser control. I got the control working fine, hooking to the document object. But I've run into a major issue with hooking the Document events. Whenever I hook any of the HTMLDocumnetEvent2_Event events like this: HTMLDocumentEvents2_Event DocEvents = this.Browser.Document as...
3
3096
by: Charles Law | last post by:
In a user control, is it possible to replace the default mouse events with my own? In particular, I want the consumer of my control to get MouseMove events when the mouse is over my control, so that they can change the cursor. However, my control has several standard controls on it, and the consumer of my control only gets MouseMove events...
3
4628
by: therealvibe | last post by:
I have made a simple page with show hide layers with javascript and css. http://www.icatt.nl/special/test/salarisstrook_algemeen.html The idea is that the blue help text rechtangle will have to remain visible when mouse over (because there will be soon links in it) and invisible when onmouseout. I have now placed javascript on the...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7619
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6290
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
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 we have to send another system

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.