with
out looking into your code and just looking at the effect I
suggest.
Start
by clearing the animation path on every mouse over, then build a new animation
to move from the current to the new position should
so if
you had 5 steps in your anim and 4 links 1->4
then
if you were over 1 the icon would be at position 1 then as you moved down the
path would be 1->2 then 1->3 and 1->4 of course if you have 5
increments in your movement between 1 & two there would be 5 between 1 and 4
too also if you are on increment part 3 (60% of the way there then the increment
steps should start from that x,y position to the x,y position of the
mouse.
Adrian Sweeney
Web Developer
Mills & Reeve
Tel: +44(0)121 456 8236
[EMAIL PROTECTED]
http://www.mills-reeve.com
-----Original Message-----Hi folks
From: Steve Urmston [mailto:[EMAIL PROTECTED]
Sent: 19 October 2006 14:31
To: [email protected]
Subject: [jQuery] Animated Menu
I've been trying to build a menu where an image follows to match the hovered link
Example: http://clearbar.co.uk/navtest.html
Problem is the animate effects queue up, thus moving mouse fast can stack up pretty high.
Anyone know how I could get around this, or think of a better way to achieve this effect?
Cheers,
Steven
Birmingham Law Society 'Law Firm of the Year' 2006
____________________________________________________________________
Mills & Reeve - one of The Sunday Times 100 Best Companies To Work For in 2004, 2005 and 2006
This email is confidential and may be privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy, or distribute information in this email nor take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation.
Mills & Reeve Solicitors, offices at:
Birmingham: 78-84 Colmore Row, Birmingham, B3 2AB.
Cambridge: Francis House, 112 Hills Road, Cambridge CB2 1PH.
Norwich: 1 St James Court, Whitefriars, Norwich NR3 1RU.
London: Fountain House, 130 Fenchurch Street, London, EC3M 5DJ.
Mills & Reeve is regulated by the Law Society.
A list of Partners may be inspected at any of the above addresses.
Visit our web site at: http://www.mills-reeve.com
This message has been checked for viruses by the Mills & Reeve screening system.
Service cannot be effected on us by e mail.
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
