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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T09:02:57+00:00 2026-05-14T09:02:57+00:00

How to show a set of hidden div’s onmouseover? For example : <div id=div1>Div

  • 0

How to show a set of hidden div’s onmouseover?

For example :

<div id="div1">Div 1 Content</div>
<div id="div2">Div 2 Content</div>
<div id="div3">Div 3 Content</div>

All div’s need to be shown onmouseover event.

  • 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-14T09:02:58+00:00Added an answer on May 14, 2026 at 9:02 am

    If the divs are hidden, they will never trigger the mouseover event.

    You will have to listen to the event of some other unhidden element.

    You can consider wrapping your hidden divs into container divs that remain visible, and then act on the mouseover event of these containers.

    <div style="width: 80px; height: 20px; background-color: red;" 
            onmouseover="document.getElementById('div1').style.display = 'block';">
       <div id="div1" style="display: none;">Text</div>
    </div>

    You could also listen for the mouseout event if you want the div to disappear when the mouse leaves the container div:

    onmouseout="document.getElementById('div1').style.display = 'none';"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I display set of images(small). I need to show the larger image(300*300) at some
I need to implement a sought of onRendered() event that would ensure all of
I have a hidden div nested inside a larger div, and set it up
Given this last thread: Javascript/Jquery: Show a hidden div based on a Radio box
I have a hidden div which I show using jQuery slideDown() and slideUp() .
I built some simple tabs, which when clicked, show a hidden div. Very simple.
I would like to show a set of consecutive numbers in a UIPickerView component
I am trying to load/show completely different set of values in a combobox(this one
I am trying to set a flag to show or hide a page element,
Could someone show me in a snipet of code how to set the backlight

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.