jquery animate

Posted on 2013-10-25
Last Modified: 2013-11-08

i want to animate a div on mouseover

i also want a unordered list to slide down.

Here is the page - hover on "the collective"

how can i achieve this? it seems to bounce etc

my jquery was:

  function() {
      top: '+=80'
    }, 500);
  function() {
      top: '-=80'
    }, 500);


Open in new window

Question by:coolispaul
  • 3
  • 2
LVL 58

Expert Comment

ID: 39601460
That has to rate in the top most annoying broken jquery based menus.

For something like that you could just use slideToggle()

Author Comment

ID: 39601473
but i need to move a div at the same time as revealing the unordered list?
LVL 58

Expert Comment

ID: 39601513
And is this div under the element you want to slide down? If so it will automatically move down as well (unless you have some rigged CSS)

This would be easier if you actually showed your code and not referred to someone else's website.

Author Comment

ID: 39601535
well its my site - thought easier to show you in context

yes the sub nav is positioned absolutely. Perhaps there is another way of positioning it buts its actually wider than its parent so this was easiest

you can see it functions but a lot of bouncing etc that im unsure how to fix...

LVL 58

Accepted Solution

Gary earned 500 total points
ID: 39601555
If you can make a test page at
Or attach your html/css

You have to chain your animations if they are absolutely positioned.

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now