Tooltip dialog and dropdown button : TooltipDialog « Dojo toolkit « JavaScript Tutorial






<html>
  <head>
    <link rel="StyleSheet" type="text/css" href="js/dojo/dijit/themes/tundra/tundra.css">
    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script>
            dojo.require("dijit.form.DropDownButton");
            dojo.require("dijit.form.TextBox");
            dojo.require("dijit.TooltipDialog");
    </script>
  </head>
  <body class="tundra">
    <button dojoType="dijit.form.DropDownButton" iconClass="customImage" showLabel="false">
        <div dojoType="dijit.TooltipDialog">
            <span>Tag this image...<span>
            <div dojoType="dijit.form.TextBox"></div>
        </div>
    </button>     
  </body>
</html>








29.76.TooltipDialog
29.76.1.Tooltip dialog and dropdown button