First Checked In.

git-svn-id: svn://10.0.0.236/trunk@27924 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pinkerton%netscape.com 1999-04-16 22:03:19 +00:00
parent 64fb0b9cda
commit 96239c306a

View File

@ -0,0 +1,35 @@
<?xml version="1.0"?>
<?xml-stylesheet href="xul.css" type="text/css"?>
<!DOCTYPE window>
<window style="width: 100%; height: 100%" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="setTri()">
<html:h1>TriStateCheckbox Test 1</html:h1>
<html:script>
function setTri()
{
var tsbox = document.getElementById("tristate");
tsbox.setAttribute("value", "2");
}
</html:script>
<html:h3>
This is a tri-state checkbox test. The first checkbox should only act like a
normal two-state checkbox. The last one should behave like a tri-state.
</html:h3>
<html:hr/>
<tristatecheckbox></tristatecheckbox>Dual state<html:br/>
<tristatecheckbox id="tristate"></tristatecheckbox>Tri state baby!<html:br/>
<html:button onclick="setTri()">Click Me To Set TriState</html:button>
</window>