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

  • Home
  • SEARCH
  • 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 7642753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:16:11+00:00 2026-05-31T09:16:11+00:00

I have a simple div layout html, there is a function that when mouse

  • 0

I have a simple div layout html, there is a function that when mouse over the div with className “personal-icon-email”, I will call a JS function and display the hidden div with className “img-info-mask”.

<div class="user-panel">
<div class="user-panel-avatar"><img src="http://www.gravatar.com/avatar/205e460b479e2e5b48aec07710c08d50?s=80"/></div>
<div class="user-panel-username">Frank</div>
<div class="user-panel-info">Hi there, May name is Frank ....</div> 
<div class="personal-icon-email pie-adj" onmouseover="showTips(this);" id="123321"></div>
<div class="personal-icon-hi pihi-adj"></div>
<div class="personal-icon-fav pifav-adj"></div>
<div class="img-info-mask">Contact Frank Now</div>

I was using jQuery with this and I have tried:

function showTips(object){$(object).next('.img-info-masks').show(); }

But failed.
Also i have tried

function showTips(object){$('#123321').next('.img-info-masks').show();}

Still not works.

Can anyone tell me what’s wrong and what i should do? Thank you a thousand 😀

  • 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-31T09:16:12+00:00Added an answer on May 31, 2026 at 9:16 am

    you can also use nextAll() instead of next() and than find your img-info-mask

    want to show all the div.img-info-mask than try

    $(object).nextAll('div.img-info-mask').show();
    

    or want to first div with contains .img-info-mask

    $(object).nextAll('div.img-info-mask:first').show();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a simple layout using the HTML div tag. I would like
I have a simple html page with a div. I am using jQuery to
I have a simple nav made up of the following HTML; <div class=inner> <div
I have a very simple html. The red div is inside the blue div
There has to be a simple explanation for this. I have a parent <div>
I am trying to accomplish something that seemed quite simple... I have 3 div
I have created a simple layout with Html and CSS which is like below
I have some pretty simple html which is meant to make a layout as
I have done a simple tab layout by using html <ul><li> with some CSS
I have a two-column layout. I have a #mainContainer div that contains all of

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.