List Info

Thread: Re: div that is event-transparent




Re: div that is event-transparent
country flaguser name
United States
2007-12-16 08:05:13

On Dec 15, 2007, at 12:22 PM, JCR wrote:

>
> hello,
>
> I have a div that capture events with z-index 1. Then
another div on
> top of it with z-index 3; the trouble is that the lower
div does not
> receive the events (click, mouseover...) any more. How
can I make the
> upper div event-transparent so that its content is
still fully visible
> but the events are still captured by the lower div
>

As far as I know, this isn't going to be possible as you
have  
explained it. But you could have the click register on the
entire  
page, and then work out what it's supposed to be for using
some other  
method, like x/y or such. Is there a reason why you have to
have  
another layer covering your click layer?

Walter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )