Oups, I mean this code :
addEvent('mouseenter', function(event){
event.stopPropagation();
});
On 18 juin, 22:06, vikti <[email protected]> wrote:
> No I don't have it, unless to put this code :
>
> addEvent('click', function(event){
> event.stopPropagation();
>
> });
>
> to ALL my children. Very crappy no?
>
> On 18 juin, 21:58, Thierry bela nanga <[email protected]> wrote:
>
> > then you have the solution...[?]
> > unless you remove the mouseenter ?
>
> > On Thu, Jun 18, 2009 at 8:56 PM, vikti <[email protected]> wrote:
>
> > > I already did that. It is just like that that I saw that the children
> > > were active.
>
> > > On 18 juin, 21:51, Thierry bela nanga <[email protected]> wrote:
> > > > 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
>
> > --
> > fax : (+33) 08 26 51 94 51
>
> > 364.gif
> > < 1 000AfficherTélécharger