jquery.menu.js 279 B

123456789101112
  1. $(function() {
  2. $('#navigation a').stop().animate({'marginLeft':'50px'},1000);
  3. $('#navigation> li').hover(
  4. function () {
  5. $('a',$(this)).stop().animate({'marginLeft':'1px'},200);
  6. },
  7. function () {
  8. $('a',$(this)).stop().animate({'marginLeft':'50px'},200);
  9. }
  10. );
  11. });