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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:06:11+00:00 2026-05-25T00:06:11+00:00

I am using code off this site: http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/ My problem is I mouse over

  • 0

I am using code off this site: http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/

My problem is I mouse over and the image slides up and when I mouse off it doesn’t slide back down. It should slide down. Does anyone know where my mistake lies here??

My Jquery is referenced in a script file:

$(document).ready(function () {
    $('.boxgrid.slidedown').hover(
        function () {
            $(".cover", this).stop().animate({ top: '-350px' }, { queue: false, duration: 300 });
    }, function () {
        $(".cover", this).stop().animate({ top: '0px' }, { queue: false, duration: 300 });
    })
});

Here’s my HTML:

<div class="boxgrid slidedown"><img class="cover" src="http://localhost:60273/www.cooklikecarolyn.com/pics/food-gallery/snowball-cookies.png" alt="" />
<h3>The Nonsense Society</h3>
<p>Art, Music, Word<br /><a href="http://www.nonsensesociety.com" target="_BLANK">Website</a></p>
</div>

Here’s my CSS:

.boxgrid{
    width: 500px;
    height: 350px;
    margin:10px;
    float:left;
    background:#161613;
    border: solid 2px #8399AF;
    overflow: hidden;
    position: relative;
    border: 1px solid blue;
    cursor: pointer;
}
.boxgrid img{
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
}

.boxcaption{
    float: left;
    position: absolute;
    background: #000;
    height: 100px;
    width: 100%;
    opacity: .8;
    /* For IE 5-7 */
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    /* For IE 8 */
    -MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    border: 1px solid red;
    }

 .captionfull .boxcaption 
 {
    margin-top: 350px;
    top: 350;
    left: 0;
 }
 .caption .boxcaption 
 {
    margin-top: 350px;
    top: 310;
    left: 0;
 }
  • 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-25T00:06:11+00:00Added an answer on May 25, 2026 at 12:06 am

    Give this a shot. I used mouseenter and mouse leave as well as added in a missing semi colon

    $(document).ready(function () {
        $('.boxgrid.slidedown').mouseenter(
            function () {
                $(".cover", this).stop().animate({ top: '-350px' }, { queue: false, duration: 300 });
        }).mouseleave(
             function () {
                $(".cover", this).stop().animate({ top: '0px' }, { queue: false, duration: 300 });
        });
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working off this test page: http://www.comehike.com/test_fb_connect.php When the user logs in using
I am using this code to display the custom errors in my site. I
I'm using mod_rewrite to change all the URLs on a site. Example: http://www.site.com/about/ becomes
How can I get source code off the internet using SVN? I'm trying to
I'm using code that I found on the CodeProject.com for a low-level keyboard hook
I have been using code similar to this MessageDlg('', mtWarning, [mbOK], 0); throughout my
I am currently using code similar to this: try { // IE ONLY var
Hi I am using jquery 1.4.2 and jquery validate 1.7( http://bassistance.de/jquery-plugins/jquery-plugin-validation/ ) Say I
I am using ASP.NET MVC2 and have a problem. After Log off I manually
This page http://winteradagency.com/Arvin/incentives/lenders.htm looks good in all browsers except IE6. The thing that is

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.