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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:53:12+00:00 2026-06-08T16:53:12+00:00

I currently have a div appearing on hover, but it just pops up rather

  • 0

I currently have a div appearing on hover, but it just pops up rather than sliding in:

#home-heroImage{
  padding: 0px;
  margin: 0px auto;
  width:980px;
  height: 525px;
  position: relative;
  z-index: 1;
  background-color: #fcba2e;
}

#home-hero-pop{
  background-color: #ffffff;
  opacity:0.8;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  font: 16px Helvetica,Arial,sans-serif;
  font-weight: bold;
  color: #6d6e70;
  text-align: left;
  padding: 10px;
  position: absolute;
  right: 0px;
  top: 0px;
  height: 505px;
  width: 460px;
  z-index: 2;
}

Fiddle.

After looking through the posts on SO, I found this example, which would work if I could get it to slide in from the right instead of the bottom. I don’t know much about JavaScript or jQuery so the modifications I’ve tried to make to this code are not producing the desired effect:

$(document).ready(function(){
    $('.up-down').mouseover(function(){
        $('.default').stop().animate({
            height: 0    
        }, 200);                        
    }).mouseout(function(){
        $('.default').stop().animate({
            height: 200 
        }, 200)    
    })

});

Fiddle.

I’ve tried reading several JavaScript articles online but they’re over my head right now.

  • 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-08T16:53:15+00:00Added an answer on June 8, 2026 at 4:53 pm

    Based on the example you give, here’s it sliding in from the right.. is this what you are after? http://jsfiddle.net/jPneT/208/

    EDIT 2017

    Too much jQuery

    You’re right, here’s a CSS alternative

    .left-right {
        overflow:hidden;
        height:200px;
        width:200px;
        position:relative;
        background-color:#333;
    }
    .slider {
        width:200px;
        height:200px;
        position:absolute;
        top:0;
        right:-200px;
        background-color:#000;
        color:#fff;
        transition:0.4s ease;
    }
    
    .left-right:hover .slider {
      right:0;
    }
    <div class="left-right">
      <div class="slider">Welcome !</div>
    </div>
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

currently i have a hover box appearing whenever i mouse over TITLE, FORMAT. html
So currently I have: #div { position: relative; height: 510px; overflow-y: scroll; } However
I have something like this currently: <div class = className style = position: absolute;
Currently have a drop down menu that is activated on a hover (from display:none
I currently have div classes for filters that cannot be changed. I want to
I have a grid of div's (we'll call #entry's). I currently have them where
I currently have a div with a fixed width of 900px. I'd like to
I currently have a div container for all of the input fields in my
I currently have a DIV inside a view, which I .load() at runtime (via
I currently have a div in the bottom right portion of a page, and

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.