Wixus...

I know how to write the code to actually do the animation. The problem I'm
finding is that when the animation kicks off, it'll throw off the rest of
the layout. 

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wixus
Sent: Friday, February 08, 2008 12:02 AM
To: jQuery (English)
Subject: [jQuery] Re: I'm stumped! How to accomplish this navigation
rollover effect?


just put the "hint" unto a some block, for example <em>. and this block in
your nav ul li or something.
make <li> tag displaying block and position relative em is a absolute block
width:0; left:(li.width); then jquery:
$('li").hover(function() {
 $(this).find("em").animate({width:XX},300);
 },function() {
$(this).find("em").animate({width:0},300)
});

XX is the width of a hint
300 is a ms for animation effect


Reply via email to