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

📄 b30-1773575.zul

📁 ZK是一个Ajax Java Web框架
💻 ZUL
字号:
<?xml version="1.0" encoding="UTF-8"?>
<zk xmlns="http://www.zkoss.org/2005/zul"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.zkoss.org/2005/zul
http://www.zkoss.org/2005/zul/zul.xsd ">

<window title="HashTest" onOK="setHash()">
<html><![CDATA[
1. Open new browser. <br/>
2. Click the B30-1773575.zul, you should not see "?" appended to the URL. <br/>
3. Click the B30-1773575.zul#12345, you should not see "?" in the URL. And press second time should not get js loop.<br/>
<br/>
]]></html>

<vbox>
Enter URL fragment (hash):
<textbox id="tb" />

<hbox>Current fragment for db querries:
<label id="hash" />
</hbox>
<button href="B30-1773575.zul" label="B30-1773575.zul" />
<button href="B30-1773575.zul#12345" label="B30-1773575.zul#12345" />
</vbox>
<zscript>
setHash(){
desktop.setBookmark(tb.value);
hash.setValue(desktop.getBookmark());
}
</zscript>
</window>
</zk>

⌨️ 快捷键说明

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