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






Tooltip dialog and dropdown button

 
<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>

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category