From: Kit D. <kd...@cl...> - 2000-11-18 01:01:03
|
Hails! I've got an interesting problem/question. I'm using setHTML on a DynLayer and then adding an EventListener to it. I discovered that on the sections that were affected by the setHTML (i.e. the parts where the HTML shows up) do not respond to the listener. I have an onmouseover and an onmouseout. They aren't triggered while they are in the colored section of the layer however when I wander out of them and into the rest of the layer -- that is when they get executed. The way that I tested this was I had the layer double-sized (lengthwise) the mouseover dosn't happen when I enter it from the top or bottom (because that entire side is covered by the setHTML'd parts) but the sides, which are BRIGHT YELLOW (so that I know where the layer is at) do trigger the Event when I move the mouse into them. Anything that I'm doing wrong with this? What I really wanted to do was have the layer vanish when the mouse exited the DynLayer. I only added the onmouseover to see if the Events were being triggered at all. Much appreciated, Kyt. |