473,721 Members | 2,256 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 6259
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
6225
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 PC). But every once in a while, he'll press and hold the right mouse button, move onto a JButton,...
0
2688
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 BorderStyle to Fixed3D or FixedSingle during the Mouse Down event. However, doing so seems to prevent...
1
9770
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 am learning that although I can see the HTML on the lower layer, the transparent gif layer above it...
8
2568
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 mouse slowly, however, if I move it fast the web browser looses track of the motion and leaves the...
3
10640
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
3762
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 handled but AFTER the current processing is complete
3
4483
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 HTMLDocumentEvents2_Event ; DocEvents.oncontextmenu += new...
3
3111
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 when the mouse is over the control itself, and not when it is over the standard controls....
3
4632
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 small numbered balls and within
0
8738
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9230
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9085
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8026
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6678
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5994
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4499
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3207
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
2
2596
muto222
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.