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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:46:37+00:00 2026-06-14T10:46:37+00:00

In Jquery is there a way to stop the mouseout() function from stop activating

  • 0

In Jquery is there a way to stop the mouseout() function from stop activating when you go over a certain div it isn’t a child either. My html code.

 <div class="featured">
            <div class="featured_top">
                    <p><span class="theme">Theme</span> Transparent </p>                                        
            </div>
            <div class="pic" style="background: blue">
                <!-- image -->                              
            </div>
            <div class="featured_des">
                <p> this is awesome theme </p>
            </div>                                  
  </div>

my js(jQuery)

$(document).ready(function(){
      $(".pic").mouseover(function(){
        $(this).animate({
            width: 0                        
            });
        });

        $(".pic").mouseout(function(){
            $(this).animate({
                width: 214                      
            });

             });
       });

So my question is can you stop the mouseout() function from activating when it is featured_des div. atm it animates the width of the .pic class which works fine but when it finishes animate the cursor is over the featured_des which activates the mouseout and hides the description again

example:: http://www.grubber.co.nz/developer/_social_development/market.html

  • 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-14T10:46:40+00:00Added an answer on June 14, 2026 at 10:46 am

    Add an wrapper around your pic and featured_des.

        <div class="picwrapper">
            <div class="pic" style="background: blue">
                <!-- image -->                              
            </div>
            <div class="featured_des">
                <p> this is awesome theme </p>
            </div>
        </div>
    

    Then JS:

    $('.picwrapper').hover(function() {
        $(this).find('.pic').animate({ width: 0 });
    }, function() {
        $(this).find('.pic').animate({ width: 214 });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way with jQuery to load Html contents from a url? For
Is there a way to stop the .data() function from converting the data to
Is there a way to stop a property from animating with jquery. I tried
Is there a way in JavaScript or jQuery to call a function when the
Is there a way to select the jQuery active tab with a HTML propertys.
Is there a jQuery way to perform iteration over an object's members, such as
is there a way with javascript/jquery to prevent images from loading? I am building
Is there any way I can get jQuery to perform a function when you
Is there a way to stop a queue build up of JQuery AJAX calls?
Is there a way to stop a close event for a jQuery UI Dialog?

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.