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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T15:38:34+00:00 2026-05-19T15:38:34+00:00

Let say (i simplify) i have 4 div with content… i like to fade/hide

  • 0

Let say (i simplify) i have 4 div with content…
i like to fade/hide them if the mouse is left unmove for 2 sec
and when the mouse mouve again… let quikly make everything appear again…

how simple is that to make in jquery ?

i am not really used to timetout and mouse.. more css used to !


I google for the “concept” and find that : Hide div element with jQuery, when mouse isn't moving for a period of time?

i will investigate if work !

  • 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-19T15:38:35+00:00Added an answer on May 19, 2026 at 3:38 pm

    You would need to create a run-a-way timer which restarts on every mousemove.

    $(document).bind('mousemove', function() {
        var $somediv = $('#somediv');
    
        return function() {
            if(!$somediv.is(':visible'))
                $somediv.fadeIn('slow');
    
            this.tID && clearInterval(this.tID);
            this.tID = setTimeout(function() {
                $somediv.fadeOut('slow');
            }, 2000);
        };
    }());
    

    Demo: http://www.jsfiddle.net/ByrKk/

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

Sidebar

Related Questions

Let say, I have code as follow <div id='tes' data-name='baloon'>Content Baloon</div> <div id='tes' data-name='big'>Content
Let say I have an element like so <div id=myDiv style=height:10px; width:100px; overflow:scroll;> random
To simplify my question, let's say I have the following script: var sPath =
To simplify the scenario, let's say we have a list of People with FirstName
Let say I have an array like: Array ( [0] => Array ( [Data]
let say i have function like below function doSomethingNow(){ callSomethingInFutureNotExistNow(); } at the moment
Let's say I have following ORM classes (fields removed to simplify): class Animal(models.Model): say
Let say I have the following desire, to simplify the IConvertible's to allow me
I'm working with MySQL databases. To simplify the problem, let's say I have two
Let's say I have a list like: my_list = [[1,2,3],[4,5,6],[7,8,9]] How do I alter

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.