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

  • Home
  • SEARCH
  • 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 624889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:14:58+00:00 2026-05-13T19:14:58+00:00

Live Demo with visible code; http://jsfiddle.net/3eEgb/4/ The demo should be fairly self explanatory; I’m

  • 0

Live Demo with visible code; http://jsfiddle.net/3eEgb/4/

The demo should be fairly self explanatory; I’m finding the length of a sentence inside a wrapper with the overflow hidden, and if it’s wider than the wrapper I’m running an animation function that slides it along, revealing the remaining text.

However I’m having problems with the mouseout part of the hover() function. When the user mouses out I’d like the text to snap back to it’s starting position.

According to the documentation (http://api.jquery.com/stop/) I should be able to .stop() the animation on the object – but I must be missing some detail because I can’t get it to work as documented. If I could get .stop() to function I presume I can chain it with .css() to set margin:0 to move the text back to it’s original position.

$(this).stop().css("color", "red"); //This isn't working ARR!

is the source of my frustrations. I’ve tried all the various ways I could think of to no avail.

Thanks!

  • 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-05-13T19:14:59+00:00Added an answer on May 13, 2026 at 7:14 pm

    You’re animating the .width element, but stopping the .track-version element.

    Change the mouseleave handler to $(e).find(".width").stop().

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

Sidebar

Related Questions

Here's a live demo for your convenience: http://jsfiddle.net/Lr6NQ/2/ On ul#navigation ul , if there
Live Demo: http://jsfiddle.net/thisizmonster/DveuB/ How can I change this so that the input only allows
Consider the following code: ( Live demo here - Open in Internet Explorer 7
Here is a little example: (live demo here ) HTML: <input id=file type=file />
Hello Where can i find demo content? Something like backup's of db or live
I have lloked at the Rich Faces jquery integration at the live demo exadel
Here's a live demo . I have the following html: <div class=Q> <div id=Q3><span>1.
Take a look on my news roller: LIVE DEMO Everything works perfectly till you
Consider the following example: ( live demo here ) HTML: <div id=outer_wrapper> <div class=wrapper>
Consider the following example: ( Live demo here ) HTML: <textarea></textarea> <div id=button>Click Here</div>

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.