Login Register

tooltip

Custom tooltips with ClusteredBars chart?

I'm running into difficulty adding custom tooltips to my chart. Even in the demos, this is never done with a chart of type 'ClusteredBars'.

When I do something such as:

chart.addSeries('Series A', [1,2,3,4]);
chart.addSeries('Series B', [2,3,4,5]);

This works fine.
However, if I do:

chart.addSeries('Series A', [{x: 1, y: 1, tooltip: 'First'}, {x: 2, y: 2, tooltip: 'Second'}, {x: 3, y: 3, tooltip: 'Third'}, {x: 4, y: 4, tooltip: 'Fourth'}]);

Ajax enabled response for ToolTip

is there a way to connect a Tooltip to an Ajax call so that the Tooltip showed the response to the Ajax call?

Trouble with dynamically created dijit.Menu and leftClickToOpen

I'm having trouble dynamically creating a dijit.Menu that opens with a left mouse button click. I have been successful dynamically creating a dijit.Menu that opens with a right mouse button click. I have also been successful declarative creating a dijit.Menu that opens with a left mouse button click.

I've include with this post some HTML that duplicates what works and what doesn't. The behavior of the HTML is the same in IE 6, FF 2/3, and Chrome. Hopefully, it will be simple to get up and running. Once it's running try the following...

tooltips get stuck

One minor issue I've had is that tooltips sometimes get stuck when you hover over one, go to another and then move the mouse off of it quickly. Minor but annoying. Just finally spent a little time getting to the bottom of it and it seems that removing the first if statement in the hide function fixed it. It seems now that every once in awhile a tooltip doesn't display when it should but users just mouse over it again and it pops which is much less annoying then a tooltip that gets stuck on the screen and won't go away until I find some other tooltip and move the mouse over that one.

1.2.0rc2: dijit.Tooltip not working on Safari

I copied the source from http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/user-assistance-a... and modified it to point to my local 1.2.0rc2 build. The app works in IE6, FF 2.0/3.0 but not Safari or Chrome.

Dynamic Tooltip on a Dynamic Button

I am trying to create a row of small buttons with tooltips. I can create the buttons fine by creating an array of divs, but if I add the code for creating a dynamic tooltip, taken from test_tooltip.html I get a dojo error:

Here's the code:

divs[i]= document.createElement("div");
divs[i].style.pixelLeft= i*50;
divs[i].style.height= 40;
divs[i].style.width= 40;
divs[i].id="but"+i;
document.forms[0].appendChild(divs[i]);
var params = { label: "x",
showLabel: false

};
var bt = new dijit.form.Button(params, divs[i]);
var tip =dijit.Tooltip(

Tooltip positioning issues and layout modification

I have a table whose elements are div (inside each td element).
I need to attach dinamically to some of those divs a tooltip displaying infos.
The problem is that often (and randomly acting different times on the same div) the positioning of the Tooltip is wrong and misleading (it seems to refer to another element of the table).

Drag n Drop elements with Tooltips on them

I'm busy making a drag'n'drop interface, from a source list of items to a destination list. On the items i also put a dijit.Tooltip. This works in the sourcelist, but once i dragged and dropped the item, the tooltip is gone. I'm using dojo 1.1.1. Any idea's?

Regards,

Edwin Eversdijk

  • My article (15 Sept 2008)
  • Dynamically generating tooltip widgets

    Hello, I am trying to dynamically generate a set of tooltip widgets, and I'm not sure why the tooltip isn't showing up. I know the tooltip won't work in firefox, but I have gotten it to work standalone in ie, safari, and opera. Right now each circle being drawn doesn't show the tooltip, I'm not sure if the variables that I am drawing aren't working or what. Here is a link to the code: http://pastebin.com/f7e8e5ab6

    Tooltips do not hide if button clicked

    If you create 2 buttons near each other and assign them each a Tooltip, and then click on one of the buttons, the Tooltip stays there "forever" unless you click on the Tooltip or the background. Shouldn't they vanish after a second or so regardless of the button activity?

    Click here
    or here
    Syndicate content