Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
michael@0 | 2 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 3 | <window id="MyWindow" |
michael@0 | 4 | title="" |
michael@0 | 5 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 6 | width="800" |
michael@0 | 7 | height="600" |
michael@0 | 8 | onload="revealTab()"> |
michael@0 | 9 | |
michael@0 | 10 | <script type="application/x-javascript"> |
michael@0 | 11 | function revealTab(){ |
michael@0 | 12 | document.getElementById("fourthTab").setAttribute("hidden", "false"); |
michael@0 | 13 | } |
michael@0 | 14 | </script> |
michael@0 | 15 | |
michael@0 | 16 | <tabbox> |
michael@0 | 17 | <tabs> |
michael@0 | 18 | <tab label="first"/> |
michael@0 | 19 | <tab label="second"/> |
michael@0 | 20 | <tab label="third"/> |
michael@0 | 21 | <tab id="fourthTab" label="fourth" hidden="true"/> |
michael@0 | 22 | </tabs> |
michael@0 | 23 | <tabpanels> |
michael@0 | 24 | <tabpanel> |
michael@0 | 25 | <label value="First page"/> |
michael@0 | 26 | </tabpanel> |
michael@0 | 27 | <tabpanel> |
michael@0 | 28 | <label value="second page"/> |
michael@0 | 29 | </tabpanel> |
michael@0 | 30 | <tabpanel> |
michael@0 | 31 | <label value="third page"/> |
michael@0 | 32 | </tabpanel> |
michael@0 | 33 | <tabpanel> |
michael@0 | 34 | <label value="fourth page"/> |
michael@0 | 35 | </tabpanel> |
michael@0 | 36 | </tabpanels> |
michael@0 | 37 | </tabbox> |
michael@0 | 38 | </window> |