Login Register

tooltip

Tooltip on disabled buttons

Hi, I noticed the dijit tooltip doesn't show if the connect node, e.g. a button or toolbar button is disabled. Looks like events like onMouseOver, onFocus etc aren't even called for disabled buttons.

I need to fix this since we want to show the tooltips even for disabled functions. Any suggestions?

Thanks!
/ Stefan

Need help with attaching tooltipdialog...

Hi guys, Dojos looking real great and I need some help here. I really like the tooltipdialog however it seems to be attachable to just a drop down button?

I would like to attach it to a table cell element like in a calendar so that when someone clicks on a cell it displays the appropriate tooltip dialog. Could anyone please let me know how to do this. I really need the help here...

dijit.form.Button overwrites "title" attribute if "showLabel" is false

Dojo version: Dojo 1.1.1
Component: dijit.form.Button
Browser: tested on FF3.0 and IE7.0

Button overwrites the attribute "title" if "showLabel" is set to false. I suppose this is a defect in method "postCreate".

Example:

var button = new dijit.form.Button(
  {
    title: "MyTitle",
    iconClass: "myIconClass",
    label: "MyLabel",
    showLabel: false
  }
);

This will render a button showing the title "MyLabel" rather than "MyTitle".

Strange effect with tooltips on IE

I have an HTML document exported from Microsoft Word that I have instrumented with Dojo tooltips. One of the CSS paragraph styles in that document specifies "text-indent: -36pt". When a tooltip is created in a paragraph given that style, the sensitive text for the tooltip gets the indent.

When the following cut-down example is displayed on Firefox or Safari, the output is:

a Agreement, fou baah

However on IE 6 and 7 it's:

a ent, fou baah

@import "http://o.aolcdn.com/dojo/1.1.0/dijit/themes/tundra/tundra.css";

dijit.Tooltip with multiple connectIds as array

Totally a problem on our end. dijit.Tooltip works as advertised - thanks Dojo.


=)

customize dojo tooltip style

Hi, I am using:

.dijitTooltipContainer {
position:absolute;left:0;top:0;
background-color:#CCD9FF;
border:1px solid gray;
max-width:450px;
font-size:smaller;
}

just to check if that is correct way to customize it.
i tried the dojo book's way, like .dojoTooltip, .dijitTootip, they don't work.

2D charting with tooltip on label

I would like to add tooltip on the labels of x-axis and y-axis for chart2D graphic. Could you let me know if there is a way to do it? Thanks!

Also can we incorporate some text into the 2D charting graph? Such as adding the lengend at the top of the graph.

Thanks!

I am using dojo1.0.2.

Wendy

Tooltip with other javascript

Hello, I'm trying to use for the first time dojo and dojit, I would like to use tooltip but I have a issue with that. In my application I have an image with associated a javascript call in order to add a field text. The problem is that after adding the tooltip when I click on the image the javascript is not called anymore (without tooltip it works just well).

Below my code:

[SOLVED] Tooltips do not work in programmatically created Custom Widget

I was able to correct this by creating a DOM node for the Custom Widget

// Need a domNode in the document to add the Search Form to
	var tmpDiv = dojo.body().appendChild(document.createElement('div'));
	
	// Create Search Form Widget
	var hl7SearchForm = new emory.eventsearch.HL7SearchCriteria({
		id: "hl7SearchForm_" + tabId,
		layoutAlign: "client"},tmpDiv);

My original Post:

I have a custom widget that contains tooltips that don't work when I create the widget programmatically.
I am using Dojo version: 1.0.

Way to have tool tip to time out

I have been playing with the floating panes and I have been adding textvalidation and tool tips to the floating pane. One problem that I now have ( I know that there are many ) is it I have a tool tip displayed and then the user moves the pane, the tool tip remain is the original place. Here is another example. If I have a tool tip displayed and the user closes/minimizes the pane, the tool tip remains. I was wondering if there was a time out feature or a way to have the tool tip disappear after a predetermined amount of time.

As always,
Thanks
timgerr

Syndicate content