|
1 <?xml version="1.0"?> |
|
2 <?xml-stylesheet href="chrome://global/skin/global.css"?> |
|
3 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="boom();"> |
|
4 <script type="text/javascript"> |
|
5 |
|
6 function boom() |
|
7 { |
|
8 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; |
|
9 |
|
10 var wizard = document.createElementNS(XUL_NS, "wizard"); |
|
11 var space = document.createTextNode(" "); |
|
12 var hbox = document.createElementNS(XUL_NS, "hbox"); |
|
13 hbox.setAttribute("anonid", "Buttons"); |
|
14 |
|
15 document.documentElement.appendChild(wizard); |
|
16 wizard.appendChild(space); |
|
17 wizard.appendChild(hbox); |
|
18 wizard.cloneNode(true); |
|
19 } |
|
20 |
|
21 </script> |
|
22 </window> |