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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:46:03+00:00 2026-05-31T11:46:03+00:00

I am doing a website using asp.net C# and I would like to popup

  • 0

I am doing a website using asp.net C# and I would like to popup a small window with information as soon as mouse hover a particular word. I know that I have to use jquery but I don’t know exactly how to do it.

Any suggestions please?

  • 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-31T11:46:05+00:00Added an answer on May 31, 2026 at 11:46 am

    There are many plugins out there that will help you achieve what you are looking for. However it is also very possible to implement this functionality yourself. I wouldn’t be surprised either if some of the plugins you come across also use similar code.

    The following is my attempt to demystify tooltip/popup plugin behaviour.

    You could wrap the desired word in a <span> element and give it a .hover class.

    <div>
      This is some text with a <span class="hover">special</span> 
      word that has hovercraft capabilities.
    </div>
    

    Your jQuery (ver 1.7+) would look something like this :

    $(".hover").on('mouseenter',function(){
      // The popup must be shown here (mouse is over element).
    }).on('mouseleave',function(){
      // The popup must be hidden here (mouse has left element).
    });
    

    I should add here that I am using a great and yet sometimes forgotten capability of jQuery called “chaining”. The on() function actually returns the object that it was attached to. In this case $(".hover") – so if I want to call another function on that object I can just add it as another function at the end. Another example of this would be :

    $("#myElement").text("An error has occured!").css("color","#FF0000");

    That line of code would also at the text to #myElement and also turn the colour red.

    With regard to your actual popup – I would suggest two things :

    1. Have an element at the bottom of your markup (written last so highest index – or manually set the highest z-index)
    2. You could also have the popup in a hidden element right next to the element that is supposed to trigger the popup.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a doing some blackbox testing of a ASP.Net website and I need to
I am doing an e-commerce solution in ASP.NET which uses PayPal's Website Payments Standard
I am doing a hobby project to scrape the content of an ASP.net website
I have a web site built using asp.net with ugly URLs like /DisplayContent.aspx?id=789564 .
I'm developing a website (using asp.net-mvc) with a SqlServer 2005 database. I have numerous
I inherited an ASP.NET MVC 1 website using MVCContrib 1.5 that I'm trying to
I have a process in a website (Asp.net 3.5 using Linq-to-Sql for data access)
I am working on ASP.NET 3.5 website project and using jQuery to warn users
I am using AutoMapper in my ASP.NET MVC website to map my database objects
I use asp.net c# using Web Forms. I use Routing for my website. I

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.