Home Dojo Dojo Tool tips

Related Tutorials


Share on Google+Share on Google+

Dojo Tool tips

In this section, you will learn about the tool tips and how to developed it in dojo.

Dojo Tool tips


In this section, you will learn about the tool tips and how to developed it in dojo. 

Try Online: Tool Tips

Tool tips :  This is a GUI (Graphical User Interface) element that is used in conjunction with a cursor and usually a mouser pointer. If the mouse cursor over an item, without clicking a mouse it appears a small box with supplementary information regarding the items.



Here is the code of program:

<title>Tooltip Demo</title>

  <style type="text/css">
  @import "../resources/dojo.css";
  @import "../dijit/themes/tundra/tundra.css";

  <script type="text/javascript" src="dojo.xd.js" 
djConfig="parseOnLoad: true"></script>

  <script type="text/javascript">

<body class="tundra">
<b>Tooltips:</b> <br><br>
  <span id="site1">Roseindia.net</span>
  <div dojoType="dijit.Tooltip" connectId="site1" 
"This is a software developement company!">
  <span id="site2">Newstrackindia.com</span>
  <div dojoType="dijit.Tooltip" connectId="site2" 
"This is a news publishing site!">

 Output of the program:

Whenever your mouse pointer goes on the Roseindia.net then you get:

Whenever your mouse pointer goes on the Newstrackindia.com then you get:


Try Online:



If you enjoyed this post then why not add us on Google+? Add us to your Circles

Liked it!  Share this Tutorial

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 1, 2008

Related Tutorials

Discuss: Dojo Tool tips   View All Comments

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
February 22, 2012

The same is uefsul, or even essential with the scribble tool. You can then use a tablet to write directly into a PDF with your handwriting. The only annoying thing (next to the speed of acceptance of strokes sometimes) are the selection boxes around newly created strokes. With the tablet those don't make sense, just clutter your handwriting. Anyway, with this double click trick it's more or less usable. @Developers: try out PDF Annotator in Windows with a Tablet to get an idea how PDFpen should work.