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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:56:40+00:00 2026-06-06T07:56:40+00:00

I am learning JQuery and trying to create cycling text through images but I

  • 0

I am learning JQuery and trying to create cycling text through images but I have a problem with buttons div (containermain). An example is here: http://jsfiddle.net/zAZst/7/ where last three images are buttons and shouldn’t have any effect on the pictures (first three) above. If you hover over images (first three) it works perfectly but if hovered over buttons (last three images) the script is corrupted and stops working. Could you please help me to fix the script so that if hovered over buttons (last three images) then there is no effect over the cycling text. 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-06T07:56:43+00:00Added an answer on June 6, 2026 at 7:56 am

    I see you have these lines:

    $('img').on('mouseover', function() {
        clearInterval(intervalId);
        displayTitle($(this).parents('div').attr('id').substring(5));
    }).on('mouseout', function() {
        currentImg = $(this).parents('div').attr('id').substring(5);
        startLoop();
    })
    

    This makes the mouseover on “any” img in the document to stop the cycling. You could add a class to the images in the cycle, like

    class="img_cycle"
    

    and then change the first line of the javascript on() function inserting a selector, like this:

    $('img.img_cycle').on('mouseover', function() {
        clearInterval(intervalId);
        displayTitle($(this).parents('div').attr('id').substring(5));
    }).on('mouseout', function() {
        currentImg = $(this).parents('div').attr('id').substring(5);
        startLoop();
    })
    

    Hope this helps 🙂

    EDIT: i made some typo in the funciton. Here is a JSFIddle working version: http://jsfiddle.net/zAZst/8/ 🙂

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

Sidebar

Related Questions

I'm trying to create a custom event with jquery 1.7, but I'm just learning
im currently learning jQuery and have ran into a problem. I am trying to
I like javascript, but I have problem with learning it :) I mean, i
I am trying to program (while learning JQuery) the following: I have a form
learning Jquery and integrating with PHP - getting there, but have one last challenge
I'm learning jQuery, and I'm trying to find a simple code example that will
I have been learning css & jquery. <!DOCTYPE html> <html> <head> <style type=text/css> #box
I am just learning Jquery templates and trying different things step by step. Now
I'm trying to implement a basic jQuery infinite carousel. As much for the learning
I'm learning JQuery and have found the factory function $() with its selectors quite

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.