Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7998267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:10:34+00:00 2026-06-04T15:10:34+00:00

So I added some transitions to a image rollover: $(document).ready(function(){ $(‘.project’).hover(function(){ $(this).children(‘.description’).stop().slideDown(‘fast’); }, function(){

  • 0

So I added some transitions to a image rollover:

$(document).ready(function(){
    $('.project').hover(function(){
        $(this).children('.description').stop().slideDown('fast');
    }, function(){
        $(this).children('.description').stop().slideUp('fast');
    });
});

However sometimes the description box only slide halfway down, or even just 1 tenth of the length it should slide… the description box is 300 by 300px, and is supposed to slide into a 300x300px box…

This seems to happen if I hover over the .project very quickly, could the stop() be adding itself to the queue thus stopping things when it shouldn’t?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:10:35+00:00Added an answer on June 4, 2026 at 3:10 pm

    Try stop( true, true ) if you want the animation to be completed immediately or stop( true, false ) if you don’t want to complete the animation, just reverse it. The first true will clear the queue so the animation can start over. I’m not completely sure why it’s going wrong and I apologize for not being able to give a more complete answer but right now I’m not in the position to look it up. You can read more about it here though: http://api.jquery.com/stop/, I’ve found the jQuery API usually pretty useful.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have added some animation using jquery but it's not working: $('.test-container').click(function(){ $(this).css('background-color', 'rgb(119,
In some projects that I work, was added some blocks with this syntax: var
For some reason, on this page, in Chrome 17, CSS3 transitions aren't working the
I'm trying to have no animation between some of my transitions. I have this
I added some UI elements to the main.xml file in the res\layout folder and
I added some custom products in virtuemart from my custom component and added its
I added some commands to produce an output file in methods of a given
I've added some buttons to an UIView (via addSubview) programmatically. However, they appear as
I have added some settings to my c# application using the configuration editor. There
I've added some php flags in my htaccess in order to change some php

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.