[jQuery] jQuery animate (help needed)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi!</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm rather new to js, jQuery (and this
mail-list).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to make a fancy menu using jQuery. I
need some help..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is my code so far, but I've only had sucsess
with the three first lines. After that I don't know what is
wrong..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><PRE class=alt2 dir=ltr style="BORDER-RIGHT: 1px inset; PADDING-RIGHT: 6px; BORDER-TOP: 1px inset; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; MARGIN: 0px; OVERFLOW: auto; BORDER-LEFT: 1px inset; WIDTH: 640px; PADDING-TOP: 6px; BORDER-BOTTOM: 1px inset; HEIGHT: 200px; TEXT-ALIGN: left"> $(document).ready(function(){
$('#K_meny').hover(function() {
$('#anm').show()
.attr({
clip:"rect(auto,auto,auto,80px)"})
.animate ({
clip: "rect(auto,auto,auto,auto)"
left: "59px"
}, 1000);
$('#K-meny li').show(100);
$('#anm').hide();
$('#K-meny .one').animate({
top: "-26px"
left: "48px"
, { queue:false, duration:3000 }
})
$('#K-meny .two').animate({
top: "-26px"
left: "48px"
, 1000
})
$('#K-meny .three').animate({
top: "-26px"
left: "48px"
, 1000
})
});
});
</PRE></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If it helps, please focus on line 4-9. The
rest is a draft. But of course, any guidance is appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks a lot!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>:) Geir, Norway</FONT></DIV></BODY></HTML>