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 123039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:13:25+00:00 2026-05-11T04:13:25+00:00

I have three images and using the following code I have then fade in

  • 0

I have three images and using the following code I have then fade in an out on mouse rollover. (they are all in a div of their own with the class ‘thumbs’)

$('.thumbs img').fadeTo('slow', 0.3);  $('.thumbs img').hover(function(){     $(this).fadeTo('normal', 1.0); },function(){     $(this).fadeTo('slow', 0.3); }); 

The problem is that when you roll your mouse over them a few times and they sit there flashing on and off for ages because everytime you roll your mouse over one it adds the effect to a sort of queue. It looks really messy when it happens, is there any way to prevent this?

  • 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. 2026-05-11T04:13:26+00:00Added an answer on May 11, 2026 at 4:13 am

    The best way to prevent this is to add a Stop() before starting the animation. Therefore, your code would look like this:

    $('.thumbs img').stop().fadeTo('slow', 0.3);  $('.thumbs img').hover(function(){     $(this).stop().fadeTo('normal', 1.0); },function(){     $(this).stop().fadeTo('slow', 0.3); }); 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, I have three server, and the idea was to keep all media (images,
I am using following code to color image on touch event.I have subclass uiview
I have upload the video on facebook using following code Help From : https://github.com/zoul/facebook-ios-sdk/
I have the following C# code (not mine) which pulls an image out of
I have three images that I want to cycle through when clicking on a
I have three divs page-left page-right flipper I have images of equal size in
I basically have three tables, posts, images and postimages (this simply contains the ids
i have list of images and on mouse over there is option box shows
I have a small problem... There are hundreds of images in a folder. they
I have a utility that converts batches of TIFF images to PDFs using the

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.