JavaScript DHTML/Dojo toolkit/TooltipDialog
Версия от 09:59, 26 мая 2010; (обсуждение)
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>