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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:27:57+00:00 2026-05-15T17:27:57+00:00

I created this simple function and it works fine apart from the fact that

  • 0

I created this simple function and it works fine apart from the fact that I have more than one “.cta-mask” on the page. What do I need to do to stop affecting all the “.box-hover” when hover one of the “.cta-mask”. Code bellow:

$(document).ready(function() { 

  //header box     
  $('.box-hover').css('opacity' , '.6');

  $('.cta-mask').hover(function(){                        
    $('.box-hover').stop().animate({left:'-12px', opacity:'0.8'},{queue:false,duration:300})
  }, function(){
    setTimeout(function() {
      $('.box-hover').stop().animate({left:'-190px', opacity:'.6'},{queue:false,duration:600})
    }, 500)
  });
}); 

Thank you for your help in advance.

  • 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-15T17:27:58+00:00Added an answer on May 15, 2026 at 5:27 pm

    nassuming .box-hover is inside .cta-mask, you can do something like this :

    $('.cta-mask').hover(function(){                          
        $(this).find('.box-hover').stop().animate({left:'-12px',opacity:'0.8'},{queue:false,duration:300})
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a sign-up and login for my website and all validation works
I have a very simple class that opens a file and creates a memory
I am working on a simple FAQ page that will show/hide answers on clicked
Thanks in advance for taking the time to read this. Apologies that it is
I only have about 2 yrs experience of web development under my belt, so
This question has been brought up many times, but I'd like to ask it
I have a MarshalByRefObject which I needed to serialize and store (in a database),
I am using this probably ugly javascript to show a text box (in a
I am creating this drawing application, where the user can click preview and it
I want to be able to set the value of a hidden field to

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.