Sha256: dba56fc774c517aeb783804648b6c53c1c1c29e6f0a582667f64311036f5d554

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

<?xml version="1.0"?> 
<?xml-stylesheet href="chrome://navigator/skin/navigator.css" type="text/css"?> 
<?xml-stylesheet href="chrome://communicator/skin/bookmarks/bookmarks.css" type="text/css"?> 

<!DOCTYPE window> 

<window style="overflow: auto" xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" orient="vertical" 
        onload=""> 

<html:h1>Checkbox Test 1</html:h1>

<html:script>

function disableOne()
{
  var box = document.getElementById("normal");
  box.disabled = true;
}
function enableOne()
{
  var box = document.getElementById("normal");
  box.disabled = false;
}

</html:script>

<html:h3>
This is a two-state checkbox test.
</html:h3>

<html:div>
  <html:hr/>
</html:div>

<html:label>
<html:input type="checkbox" id="normal"/>Checkbox One (Normal)
</html:label>

<html:div>
  <html:hr/>
</html:div>

<html:button onclick="disableOne()">Disable Checkbox</html:button>
<html:button onclick="enableOne()">Enable Checkbox</html:button>

</window>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ogre.rb-0.1-i686-linux samples/navi/res/samples/checkboxTest.xul
shattered_ogrerb-0.5.0.1 vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul
shattered_ogrerb-0.5.0.2 vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul
shattered_ogrerb-0.5.1 vendor/ogrerb/samples/navi/res/samples/checkboxTest.xul