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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T22:25:02+00:00 2026-06-04T22:25:02+00:00

I have this site here As you can see there is a tiny image

  • 0

I have this site here

As you can see there is a tiny image slider for “Images” and “Web Templates” tabs where the images are sliding from right to left, then disappears and then it appears at the very end of the parent element (an <tr> in my case).

If you hover over the small images you can see it’s preview on the left.

So far so good.

But if you wait until the first images comes again, the hover event doesn’t work anymore.

It is possible that jquery can’t see that new appended elements at the end of the <tr> tag?

  • 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-04T22:25:04+00:00Added an answer on June 4, 2026 at 10:25 pm

    The way you are binding your events will not work for dynamically added elements. In preview_script.js you have:

    $(".box_body img").hover(function(){
    

    This will add eventhandlers to all img tags with class “box_body”, but ones that are appended later will NOT get the event.

    Try this:

    $(document).on("hover", ".box_body img", function() {..});
    

    This will add the event to document, and only fire it if the eventtarget is img with class = “box_body”. Since events propagate up this should work as long as nothing in between stops it before it reaches document (by calling “event.stopPropagation()”)

    If you know the PARENT of “.box_body img” you can replace document with that, this will work a little better as you don’t have to wait for the event to propagate up to document.

    Note that you can accomplish the same thing using delegate (if on is not available):

    $(document).delegate(".box_body img", "hover", function() {..});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the thing. Right now I have this e-commerce web site where people
Here is some code I modified from this nifty site : http://jsfiddle.net/Ajhka/ I have
this is my first question.. so, here we go. i have a site, 100%
I have this web-site -> http://www.krlja-ustvari.hr It works 'perfect' in Google Chrome. By 'perfect'
I have this site I've been working on here: http://www.replyonline.co.uk/DirectionGroup/xmas/index.php When you hover over
I see from reading other posts on this site, there a similar solutions to
I have this site... http://willruppelglass.com/ and it looks good in IE9, 8, 7, Firefox
so I have this site: http://webzilla-il.com/contactus.php , now i know it's not in english
I have this membership site setup on my local machine using the ASP.NET membership
I have searched this site and Google and even though the idea is pretty

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.