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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:25:36+00:00 2026-05-27T23:25:36+00:00

I am looking for solutions on my problem. I would like to make an

  • 0

I am looking for solutions on my problem. I would like to make an animation (slide up, slide down) on hover but I cant to resolve it. If you take a look on this page it is a image router. This is clear CSS solution, works without JS but I wanna add sliding animation… If mouseenter on image submenu should slide up from the bottom and when mouseover submenu should slide down. Thanks a lot for your tips how to resolve it

  • 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-27T23:25:37+00:00Added an answer on May 27, 2026 at 11:25 pm

    Edit:

    In your case this would be a solution:

    Remove #menu ul li:hover ul { display: block; z-index: 300; } in your css.

    $(function(){
    
        $('#menu ul li').mouseenter(function() {
    
            $(this).find('ul').css({'z-index':'300'}).slideDown();
    
        });
    
        $('#menu ul li').mouseleave(function() {
    
            $(this).find('ul').css({'z-index':'0'}).slideUp();
    
        });
    
    });
    

    Original:

    This is very easy to understand if you are new to jQuery:

    $(function(){
    
        $('#selector').mouseenter(function() {
    
            $('#submenu').slideUp();
    
        });
    
        $('#selector').mouseleave(function() {
    
            $('#submenu').slideDown();
    
        });
    
    });
    

    jQuery checks if you enter or leave an element with the mouse with e.g. .mouseenter() and .mouseleave(). Now you can use .slideUp() .slideDown() to slide another element.
    Be sure to remove the css hover effect first and set the element you want to slide to display: none;

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

Sidebar

Related Questions

I am looking for an appropriate data structure for my problem. I would like
I've been looking for solutions to this problem for far too long considering how
I've run into a problem where the TargetUpdated event seemed like it would be
My problem here is that I would like to pass an object to a
I'm looking to learn node.js and mongodb which look suitable for something I'd like
I'm developer of Robocode engine. We would like to make Robocode multilingual and Scala
I am looking for a solution for PHP and comet. I would like to
Is there a better solution to the problem of looking up multiple known IDs
I'm looking for a nice tight regex solution to this problem. I'm looking to
So basically here's my problem. I'm looking for a solution to allow us 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.