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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:56:24+00:00 2026-06-16T03:56:24+00:00

I am trying to locate javascript code that, when I rollover an image, will

  • 0

I am trying to locate javascript code that, when I rollover an image, will make a box appear below the image and expand down (much like how a movie screen in a theater would roll from the ceiling to the floor). In that box, content would also appear, that I have previously added, that describes the image above. Already existing underneath the image I have a div with content in it…I would also like this div to be pushed down as the box described above expands down.

Any suggestions?

Thank you very much in advance!

C*

Forgot the code that I am using…so what is happening here is that I have a picture, and below it, a small box, that when I rollover that small box it changes color. So, I want to add, when I scroll over that small box, not only does it still change color, but the new vertical expanding box appears below it. I have javascript in a *.js file that handles the already existing rollover effect but it’s quite long and I wasn’t sure if I should add that (it was create by Dreamweaver when I created a rollover image).

<div class="images">

<figure class="images">
<img src="../images/Flower2.jpg" width="300" height="199" alt="Life">
</figure>

<figcaption class="content"><a class="typeB" href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image3','','../graphics/life2.jpg',4)"><img src="../graphics/life1.jpg" width="300" height="25" id="Image3" /></a>
</figcaption>

</div>
  • 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-16T03:56:25+00:00Added an answer on June 16, 2026 at 3:56 am

    You don’t give much information in your question about your current setup, but assuming that you have your HTML set out something like this:

    <div>
        <img id="tux" src="http://upload.wikimedia.org/wikipedia/commons/1/1c/Crystal_128_penguin.png" />
        <div id="tux_desc" class="imgDesc" style="display: none">
            <p>A cute penguin!</p>
        </div>
    </div>
    <div>
        <p>This text is part of the normal document flow</p>
    </div>
    

    Then you can use the following JavaScript (which makes use of jQuery):

    $('#tux').hover(
        function() {
            $('#tux_desc').slideDown();
        },
        function() {
            $('#tux_desc').slideUp();
        });
    

    You can see it working here: http://jsfiddle.net/wbAxm/1

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

Sidebar

Related Questions

I am trying to locate in the HL7 Stream for the segment that will
I am trying to hack a little this facebook javascript code to make a
In trying to call a method on the CodeMirror javascript code editor. I'm new
Was trying to call out to the Saga Javascript code coverage from Gradle. After
I'm trying to use jQuery to locate all <a> tags that contain a piece
I am trying to make a google map appear on my web page without
I`m a JavaScript/programming newbie trying to figure out the new bookmarklet that's been released
I am trying to translate the Javascript function here. This will produce a cardinal
I'm trying to execute a javascript file in my browser but the code is
Im trying to find the location of a JavaScript Function that is being used

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.