⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.zhtml

📁 非常接近C/S操作方式的Java Ajax框架-ZK 用ZK框架使你的B/S应用程序更漂亮更易操作。 官网:www.zkoss.org
💻 ZHTML
字号:
<html xmlns:zk="http://www.zkoss.org/2005/zk"><head><title>ZHTML Demo</title></head><body>	<h1>ZHTML Demo</h1>	<ul id="ul">		<li>The first item.</li>		<li>The second item.</li>	</ul>	<input type="button" value="Add Item" zk:onClick="addItem()"/>	<br/>	<input id="inp0" type="text" zk:onChange="add()"/> +	<input id="inp1" type="text" zk:onChange="add()"/> =	<text id="out"/>	<zscript>	void addItem() {		Component li = new Raw("li");		li.setParent(ul);		new Text("Item "+ul.getChildren().size()).setParent(li);	}	void add() {		out.setValue(inp0.getValue() + inp1.getValue());	}	</zscript>	<br/>	<input type="button" value="Say Hi" zk:onClick="alert(&quot;Hi&quot;)"/>	<form action="/zkdemo/hello.zul">	Replace with another URL		<input type="submit" value="Submit" zk:onClick="System.out.println(&quot;Submitted&quot;)"/>	</form>	<form action="/zkdemo/hello.zul" target="inner">	Go to iframe		<input type="submit" value="Submit"/>	</form>	<input type="submit" value="Submit no in form" zk:onClick="System.out.println(&quot;Submitted 2&quot;)"/>	<iframe name="inner">	</iframe>	<input type="image" src="/zkdemo/img/coffee.gif"/></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -