in mouseEnter(event) {}

use event.target to know which element fired the mouseEnter

On Thu, Jun 18, 2009 at 8:41 PM, vikti <[email protected]> wrote:

>
> Hi,
>
> all is in my question. Fo exemple if I have the following elements  :
>
> <div id="sub_list">
>  <!-- Subs come here ! -->
>  <ul id="sub1">
>    <li class="timeStart" id="start1"><span
> class="time_value">0:00:04,978</span>
>      <ul class="time_tools_action">
>        <li title="Enlever 100 ms" class="sub_time">-</li>
>        <li title="Ajouter 100 ms" class="add_time">+</li>
>      </ul>
>    </li>
>    <li class="timeEnd" id="end1"><span
> class="time_value">0:00:05,321</span>
>      <ul class="time_tools_action">
>        <li title="Enlever 100 ms" class="sub_time">-</li>
>        <li title="Ajouter 100 ms" class="add_time">+</li>
>      </ul>
>    </li>
>    <li class="text" id="text1"> zdzd</li>
>  </ul>
> </div>
>
>
> And if i add a onMouseEnter event on my ul.time_tools_action. How do I
> prevent the children, .sub_time and .add_time to be reactive on a
> onMouseEnter ?
>
> Regards




-- 
fax : (+33) 08 26 51 94 51

Reply via email to