📄 tooltip.zul
字号:
<?xml version="1.0" encoding="UTF-8"?><!--tooltip.zul{{IS_NOTE Purpose: Description: History: Thu Jun 8 10:53:43 2006, Created by tomyeh}}IS_NOTECopyright (C) 2006 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><window id="demo"> <vbox width="100%"> <html> <attribute name="content"><![CDATA[<h4>Tooltip and Popup Menu</h4><p>Demostrates how to use customized tooltip and popup menu.</p><p>Tooltips and popup menus can be any popup or menupopup components.</p><ul><li>A tooltip is shown when an user moves the mouse over a component withthe tooltip attribute.</li><li>A popup is shown when an user clicks on a component withthe popup attribute.</li></ul> ]]></attribute> </html> <groupbox mold="3d" width="100%"> <caption label="View"><button label="Reload" height="18px" use="org.zkoss.zkdemo.userguide.ReloadButton"/></caption> <window id="view"> </window> </groupbox> <groupbox id="tryView" mold="3d" open="false" width="100%"> <caption label="Source"><button label="Try me!" use="org.zkoss.zkdemo.userguide.TryMeButton"/></caption> <textbox id="codeView" use="org.zkoss.zkdemo.userguide.CodeView" class="code" rows="15" width="100%"> <attribute name="value"><![CDATA[<window title="Customizable Tooltips" border="normal" width="360px"> <label value="Move Mouse Over Me!" tooltip="editPopup"/> <separator bar="true"/> <label value="Tooptip for Another Popup" tooltip="any"/> <separator bar="true"/> <label value="Click Me!" popup="editPopup"/> <menupopup id="editPopup"> <menuitem label="Undo"/> <menuitem label="Redo"/> <menu label="Sort"> <menupopup> <menuitem label="Sort by Name" autocheck="true"/> <menuitem label="Sort by Date" autocheck="true"/> </menupopup> </menu> </menupopup> <popup id="any" width="300px"> <vbox> ZK simply rich. <toolbarbutton label="ZK your killer Web application now!" href="http://www.zkoss.org"/> </vbox> </popup></window> ]]></attribute> </textbox> </groupbox> </vbox></window>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -