How to get a descriptive box when a mouse moves over a button?

Posted on 2004-11-30
Last Modified: 2012-05-05
Hi all,
        I need some help. In my web page when I move my cursor on a link or on a button, then it should show a descriptive box like thing near the cursor(not at the status bar of the browser) to explain for users what that button or the link do....No problem if it is java script ot HTML.......Thanks in advance. Waiting for your answers.....Thankyou very much.
Question by:gusank
    LVL 18

    Expert Comment

    LVL 13

    Expert Comment


    <a href="" title="This link will take you to Google!">Mouse Over This Link</a>
    LVL 25

    Expert Comment

    LVL 18

    Expert Comment

    Ah!  Pure css tooltip why did I never think of that ! I like it.
    LVL 3

    Accepted Solution

    <a href="yourlink.html" title="Your tooltip!">your link text</a>

    <input type="button" title="Your tooltip!" onclick="window.location='yourlink.html';" label="your button text">

    Hope that helps ;)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now