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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:28:09+00:00 2026-06-10T05:28:09+00:00

I have a simple .slideDown function: $globalTabs.find(‘.seeMore a’).live(click, function(){ $globalTabs.find(.allTabs).slideDown(‘slow’); }); When a user

  • 0

I have a simple .slideDown function:

$globalTabs.find('.seeMore a').live("click", function(){
     $globalTabs.find(".allTabs").slideDown('slow');
 });

When a user clicks on an <a> in .allTabs ,.allTabs does a .slideUp.

What I want to do, is if a user has not clicked anything in .allTabs and the mouse is no longer within .allTabs, then a timer initiates to wait x amount of time and then do the .slideUp. Additionally, if the mouse enters .allTabs again before the .slideUp triggers – then the timer is stopped and resets when the mouse is moved outside of .allTabs

Not sure how to approach. Any help would be appreciated.

base markup:

<div class="allTabs">
   <a href="#">link 1</a>
   <a href="#">link 2</a>
   <a href="#">link 3</a>
   <a href="#">link 4</a>
</div>

and:

<li class="seeMore"><a href="#">see more</a></li>
  • 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-10T05:28:10+00:00Added an answer on June 10, 2026 at 5:28 am

    Try this way:

    $(function() {
        var $allTabs = $globalTabs.find(".allTabs");
        var timer;
        $globalTabs.find('.seeMore a').live("click", function(){
            $allTabs.slideDown('slow');
        });
        $allTabs.mouseout(function(){
            timer = setTimeout(function() {$allTabs.slideUp()}, 3000);
        });
        $allTabs.mouseover(function() {
            clearTimeout(timer);
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple dropdown item as $('.item').mouseover(function(){ $(this).children().slideDown('slow'); }); $('.item').mouseleave(function(){ $(this).children().slideUp(slow); }); My
I have the following simple javascript function to slide an object up and down.
I have a simple javascript function that allows me to add an item to
I have a simple form for a hotel accommodation tool. User selects the number
I have a simple click and show, click and hide sidebar menu , but
I have to create a simple webpage on asp.net 4 with vertical slidedown slideup
I have this simple function in jQuery: function detailspage(page) { if (page != checkcurrent)
I have a simple accordion menu I've put together today using the jQuery slideDown()
I have the following simple slide down hover menu. $(function(){ $('.sub-menu').hide(); $('.menu-item').hover( function ()
I have simple table in Sybase -- Creating table 'SimpleText' CREATE TABLE [dbo].[SimpleText] (

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.