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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:58:01+00:00 2026-06-18T11:58:01+00:00

I have a 3 * 3 photo collage and want the corresponding text summary

  • 0

I have a 3 * 3 photo collage and want the corresponding text summary of the photo show up if the photo is moused over. The text summary is contained in a div with id summary-container.That being said, the previous text summary will be replaced by the current text with a slide animation effect. Below is the piece of javascript codes.

$('#photo-collage').find('.span4').hover(function(){  
      $('#summary-container').fadeOut();
      $('#summary-container').show('slide',{direction: 'left'},1000);
      $('#summary-container').load(url,data);
},function(){});

It works well if I hover over from one photo to the other. But the problem is, e.x, if I hover over from photo 1 to photo 4 while crossing photo 2 and photo 3, the show() function is called two more times. So there are two more slide animations, which is not necessary.

How should I adjust my codes to solve this problem?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-06-18T11:58:02+00:00Added an answer on June 18, 2026 at 11:58 am

    Try

    $("#summary-container").clearQueue().stop();
    

    to clear the animation-queue.

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

Sidebar

Related Questions

I have a photo gallery that is organised like this: .container %li %a{src: image.src}
I have photo editing view that displays an OpenGL ES 2.0 view. I want
I have photo gallery code that does image re-sizing and thumbnail creation. I use
I have a photo gallery I would like that every time a user does
I have a Photo model and I want to set up a form so
So we have a photo like this (source: vkontakte.ru ) How to detect that
I have a PHP photo gallery that reads the GPS coordinates from images. I'd
I have a complex custom view - photo collage. What is observed is whenever
i have a photo gallery, and i really want to change each image on
I'm developing a Winform application using c# to have something like photo kiosk that

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.