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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:34:50+00:00 2026-05-26T17:34:50+00:00

I have a tooltip and when the user clicks on the field, the tooltip

  • 0

I have a tooltip and when the user clicks on the field, the tooltip breaks the td‘s width.

Is there any solutions to this?

I’ve a working example here:

http://jsfiddle.net/yfM5T/

If you click on the password field the size of that TD increases. How can I keep the size of TD intact and show the tooltip?

  • 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-26T17:34:50+00:00Added an answer on May 26, 2026 at 5:34 pm

    Put the tool in absolute position, top:0, left:0

    then, with mootools or jquery, specify that when it appears, the tooltip’s X and Y positions should be similar to the field’s position + some extra space (the field’s wisth, for example)

    and don’t forget to add a condition that moves the tooltip when someone resizes the screen.

    With JQuery, here’s an exemple (I don’t use mootools, but I assume you can do the same) :

    function placeTooltip() {
        $("#tooltip").css("left",$("#field").position().left + $("#field").width());
        $("#tooltip").css("top",$("#field").position().top - $("#tooltip").height());
    }
    
    //Places tooltip on page load
    $(document).ready(function() {
        placeTooltip();
    });
    
    //Places tooltip on page resize
    $(window).resize(function() {
        placeTooltip();
    });
    
    $("#field").mouseenter(function() {
        $("#tooltip").fadeIn("normal");
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a canvas with user controls arranged on it. When a tooltip is
I have a simple html multiline tooltip implementation: this.tooltip = function(tag) { xOffset =
I have a toolTip set up to display nice title tags to the user
I've have an ImageButton within a ListView . When a user clicks the button
Is there any sample to show tooltip on chart generated by Chart Web Helper
i have a page wherein i need to lock the screen when user clicks
I have a simple create user wizard control and It's working pretty well upto
I have tooltip(prototip, but it doesnt matter) on my page in javascript and I
I am trying to have a tooltip on multiple lines. how do i do
I would like to have a tooltip that only comes up when you click

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.