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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:12:37+00:00 2026-05-21T23:12:37+00:00

On my site I have a panel at the top containing like 9 images

  • 0

On my site I have a panel at the top containing like 9 images in a row. On page load it’s hidden but there is a tab underneath it and you can see like 3 pixels of the bottom of the div.

What I want is that when you hover over the tab OR the visible part of the panel the box will slide down, and then when the mouse is no longer on the panel or the tab the div will slide up. I’ve given both the tab and the div a class of “slider-handle”. This is what the html looks like:

<div id="slider-wrapper">
    <div id="slider-content" class="slider-handle">
        <img src="blabla.jpg" /> (*9)
    </div>
    <div id="slider-tab" class="slider-handle">
        <span>Click here 2 open slider blabla.</span>
    </div>
</div>

And what I want in the jQuery is something like this:

$(document).ready(function () {
    $('.slider-handle').hover(function () {
        $('slider-content').animate({
            height: '50px'
        });
    }, function () {
        $('slider-content').animate {
            {
                height: '3px'
            });
    });
});

Which would work if only one element had the slider-handle class, however because there’s 2, when you hover out of one and into the other it still treats this event as ‘mouse left slider-handle element’ and there’s like a flicker. I want these 2 elements to SORT OF be treated as ONE in that when you leave the tab and enter the slider-content div, the hoverout event isn’t triggered because the mouse has not left ‘slider-handle’…if that makes sense…

  • 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-21T23:12:38+00:00Added an answer on May 21, 2026 at 11:12 pm

    You can use your slider-wrapper div, like this:

    $(document).ready(function () {
        $('#slider-wrapper').hover(function () {
            $('#slider-content').animate( {height: '50px'} );
        }, function () {
            $('#slider-content').animate( {height: '3px'} );
        });
    });
    

    As it contains both elements, these will be treated as one.

    Hope this helps. Cheers

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

Sidebar

Related Questions

I have site I am working on and the images take forever to load,
I have a main menu on top of my site, its on every page,
on the site I'm currently developing I have a panel on the news page
i am trying to make a control panel for my site, but i have
Let's say I have a site where Users can add Entries through admin panel.
I need to check if the images people upload to my site have the
I have a WordPress site which have 4 pages with one page is a
I have site which uses $(selector).load(path) function in more than 300 pages. Now my
On my web site I have XMLs with my page contents (automatically generated from
I have a single page site: http://chiaroscuro.telegraphbranding.com/ Each section is dynamically sized based on

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.