On Tue, May 20, 2008 at 6:13 AM, Wizzud <[EMAIL PROTECTED]> wrote:

>
> One way is to make the LI's mouseover add a class, the mouseout remove
> that class, then set css to do what you want to the A element...
>
> $('li').hover( function(){ $(this).addClass('x') }
>               , function(){ $(this).removeClass('x') } );
>
> style...
> li.x a {color:#ff9900;}
>
> On May 19, 1:34 pm, paragasu <[EMAIL PROTECTED]> wrote:
> > is it possible i make one event equal to another event
> > for example, if i put a mouseover on a <li></li> tags. automaticly,
> > the a mouseover activated?
> >
> > so if i have a tags like <li><a href=#>link here </a></li>
> > the link will be highlighted regardless of user put a mouserover on a
> > tags or li tags?
>

actually there is an event triggered when the mouse over at <a> tags.
what i want is, when the use mouse over at <li> the <a> event will be
triggered.
the <a> tags is a child of <li>... thanks

Reply via email to