b30-1882325.zul
来自「ZK是一个Ajax Java Web框架」· ZUL 代码 · 共 59 行
ZUL
59 行
<?xml version="1.0" encoding="UTF-8"?><!--B30-1882325.zul{{IS_NOTE Purpose: Description: History: Fri Mar 21 13:19:30 2008, Created by tomyeh}}IS_NOTECopyright (C) 2008 Potix Corporation. All Rights Reserved.{{IS_RIGHT}}IS_RIGHT--><zk xmlns:n="http://www.zkoss.org/2005/zk/native">[Opera Only] Clicks <button label="show"> <attribute name="onClick">{ mywin.doModal(); }</attribute> </button>Then, a modal window is shown up.Then, click the hide button. With 3.0.3, the modal window will be movedbelow this paragraph and then disappear. It is incorrect.It shall disappear directly without this annoying effect.<div>Note: since the modal window contains many list items,the performance is no good -- it is not the issue.</div> <window visible="false" id="mywin" width="250px" height="200px" title="wnd1" action="onopen: ;"> <zscript> List items = new org.zkoss.zkdemo.userguide.BigList(2000); //a big list of Integer </zscript> <button label="hide" onClick="spaceOwner.visible = false" /> <button label="become overlapped" onClick="spaceOwner.doOverlapped()" /> <button label="become embedded" onClick="spaceOwner.doEmbedded()" /> <button label="become popup" onClick="spaceOwner.doPopup()" /> <listbox mold="select"> <listitem forEach="${items}"> <listcell label="${each}-1" /> <listcell label="${each}-2" /> <listcell label="${each}-3" /> <listcell label="${each}-4" /> </listitem> </listbox> <listbox mold="select"> <listitem forEach="${items}"> <listcell label="${each}-1" /> <listcell label="${each}-2" /> <listcell label="${each}-3" /> <listcell label="${each}-4" /> </listitem> </listbox> <zscript>items = null;</zscript> </window></zk>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?