EzDevInfo.com

tooltip

CSS Tooltips built on Tether. #hubspot-open-source Tooltip — CSS tooltips built on tooltip tooltip is a javascript and css library. it is free and open source and was developed by hubspot developer adam schwartz (@adamfschwartz).

C#: How do I add a ToolTip to a control?

I have some controls that I would like to display a ToolTip for when the mouse is hovering over it. How can I do this? I would like to know how to do this properly in code, but also in the designer (There is a ToolTip component in the toolbox, but I don't quite.. get it).

I wouldn't be surprised if this is a duplicate, but I can only find questions that are on more advanced, specific scenarios. I would like to know the basics.


Source: (StackOverflow)

Multi-line tooltips in Java?

I'm trying to display tooltips in Java which may or may not be paragraph-length. How can I word-wrap long tooltips?


Source: (StackOverflow)

Advertisements

Add line break within tooltips

How to add line breaks within a HTML tooltip.

I tried using <br/> and \n within the tooltip like

<a rel='nofollow' href="#" title="Some long text <br/> Second line text \n Third line text">Hover me</a>

This was useless and i could see the <br/> and \n within the tooltip instead of executing ...

Any suggestions will be helpful.


Source: (StackOverflow)

How can I add a hint or tooltip to a label in C# Winforms?

It seems that the Label has no Hint or ToolTip or Hovertext property. So what is the preferred method to show a hint, tooltip, or hover text when the Label is approached by the mouse?


Source: (StackOverflow)

How do you change the width and height of Twitter Bootstrap's tooltips?

I created a tooltip using Twitter Bootstrap.

The tooltip is displaying with three lines. However, I would like to display the tooltip with only one line.

How do I change the width of the tooltip? Is this specific to Twitter Bootstrap or to tooltips themselves?


Source: (StackOverflow)

Forcing a WPF tooltip to stay on the screen

I have a tooltip for a Label and I want it to stay open until the user moves the mouse to a different control.

I have tried the following properties on the tooltip:

StaysOpen="True"

and

TooltipService.ShowDuration = "60000"

But in both cases the tooltip is only displayed for exactly 5 seconds.

Why are these values being ignored?


Source: (StackOverflow)

Tooltips in the era of touch

Tooltips are an incredibly useful interface paradigm to know an application. They are the mapping between the visual control and the application specific action associated to that control. The user can explore the action without invoking it just by hovering the mouse pointer.

The touch devices make this paradigm basically impossible. This limits the usability of the app, which becomes in some cases pretty mysterious.

Do you know if a substitute for the tooltip concept exists for touch devices? They effectively lack one degree of freedom in ui interaction: the pointer position. How to regain this communication channel effectively?


Source: (StackOverflow)

HTML - how can I show tooltip ONLY when ellipsis is activated

I have got a span with dynamic data in my page that contain ellipsis. Meaning:

<span style='text-overflow: ellipsis; overflow : hidden; white-space: nowrap;  
 width: 71;'>${myData}</span>

and I'd like to add to this element tooltip with the same content (title='${myData}') but I want it to appear only when the content is long and the ellipsis appear on screen.
Is There any way to do it?

one direction - when the browser (IE in my case) draw ellipsis- does it throw an event about it?


Source: (StackOverflow)

Is it possible to format an HTML tooltip (title attribute)?

Is it possible to format an HTML tooltip?

E.g. I have a DIV with attribute title="foo!". When I have text-size of my browser zoomed in or out in, the text size of the tooltip remains unchanged. Is there a way to make the tooltip font scale with the browser setting?


Source: (StackOverflow)

Create pdf with tooltips in R

Simple question: Is there a way to plot a graph from R in a pdf file and include tooltips?


Source: (StackOverflow)

Tooltip on image

I am using the tooltips. But I want that on image tag, like when I am mouseover the image then the tooltip is start to working. I have tried but not working for me on image tag.


Source: (StackOverflow)

Tooltip with HTML content without JavaScript

There are plenty of JavaScript-based libraries that show tooltips when you hover your mouse over a certain area of a web page. Some are rather plain, some allow the tooltip to display HTML content styled with CSS.

But is there a way to show a styled tooltip without using JavaScript? If you just use the title attribute, tags are not processed (e.g. foo<br />bar doesn't produce a line break). I'm looking for a solution that allows one to display styled HTML content without using any JavaScript.


Source: (StackOverflow)

How can I display a tooltip on an HTML "option" tag?

Either using plain HTML or jQuery assisted JavaScript, how do you display tooltips on individual <option> elements to aid the decision process (there is not enough room for a different kind of control and some help will be needed).

Can this be done though a plug-in or similar?

I have tried a few tooltip plugins for jQuery with no success (including the one called Tooltip).

This solution should:

  • work in IE, WebKit as well as Gecko;
  • utilizing standard <select> wrapped <option> elements.

So if the solution wants to use other tags it should convert those elements into what it needs dynamically (and not expect the initial mark-up to be any different).


The code for this can be found here, it is under the SafeSurf section, where I want to display some help on rollover of the options as to the meaning of the choices. At present it can only be displayed "after the fact" and some upfront help for the user would be beneficial.

Appreciate that this is not easy and that something will probably need to be created - so the bounty will be awarded to the most complete solution or the specific hook that lands me closest to a solution I can create.


Source: (StackOverflow)

Is there a way to have content from an IFRAME overflow onto the parent frame?

I have a UI widget that needs to be put in an IFRAME both for performance reasons and so we can syndicate it out to affiliate sites easily. The UI for the widget includes tool-tips that display over the top of other page content. See screenshot below or go to the site to see it in action. Is there any way to make content from within the IFRAME overlap the parent frame's content?

Tool-tip content needs to overlap parent frame content


Source: (StackOverflow)