T O P I C R E V I E W |
fzirp |
Posted - 09 Jul 2006 : 15:42:07 At the moment it is not possible to associate events with a layer (onMouseOver etc). Is this something that could be added?
Thanks
fzirp |
4 L A T E S T R E P L I E S (Newest First) |
jtarin |
Posted - 18 Jul 2006 : 06:29:19 Couldn't you accomplish the same thing with a "Hotspot", or am I missing something here? |
fzirp |
Posted - 11 Jul 2006 : 13:59:01 What I had in mind was to have a pop-up menu in a hidden layer. The whole layer would become visible when an adjacent button is clicked. It would then remain visible by means of a mouseOver event anywhere on the layer, and would be hidden again onMouseOut. Something similar could be done by assigning the onMouseOver to objects within the layer, but the problem is that if the mouse hits a space between objects the layer would disappear again. |
s.dav |
Posted - 10 Jul 2006 : 08:54:36 The HTML language permit to associate events on layers but this works only in some new generation browsers and in my opinion is unuseful. As T00N says you can use a graphical rect instead ;-) |
T00N |
Posted - 09 Jul 2006 : 18:02:48 But why?
The main advantage of layers is that you can place them on top of each other.
So only the top layer can be associated with an 'on mouse over' event.
Keeping that in mind you can just as well create a transparent rectangle and associate the events you want with this rectangle. |