Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="gridsample.css" type="text/css"?> |
michael@0 | 9 | |
michael@0 | 10 | <!DOCTYPE window> |
michael@0 | 11 | |
michael@0 | 12 | |
michael@0 | 13 | <window orient="vertical" style="border: 2px solid green" |
michael@0 | 14 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 15 | |
michael@0 | 16 | <script> |
michael@0 | 17 | function flip(child) |
michael@0 | 18 | { |
michael@0 | 19 | var jump = child.getAttribute("jumpy"); |
michael@0 | 20 | if (jump != "true") |
michael@0 | 21 | child.setAttribute("jumpy","true"); |
michael@0 | 22 | else |
michael@0 | 23 | child.setAttribute("jumpy","false"); |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | </script> |
michael@0 | 27 | <hbox> |
michael@0 | 28 | <grid style="border: 2px solid yellow;"> |
michael@0 | 29 | <columns> |
michael@0 | 30 | </columns> |
michael@0 | 31 | |
michael@0 | 32 | <rows> |
michael@0 | 33 | <row> |
michael@0 | 34 | <button label="button" class="jumpy"/> |
michael@0 | 35 | <button label="button" class="jumpy"/> |
michael@0 | 36 | <button label="button" class="jumpy"/> |
michael@0 | 37 | <button label="button" class="jumpy"/> |
michael@0 | 38 | <button label="button" class="jumpy"/> |
michael@0 | 39 | </row> |
michael@0 | 40 | <row> |
michael@0 | 41 | <button label="button" class="jumpy"/> |
michael@0 | 42 | <button label="button" class="jumpy"/> |
michael@0 | 43 | <button label="button" class="jumpy"/> |
michael@0 | 44 | <button label="button" class="jumpy"/> |
michael@0 | 45 | <button label="button" class="jumpy"/> |
michael@0 | 46 | </row> |
michael@0 | 47 | <row> |
michael@0 | 48 | <button label="button" class="jumpy"/> |
michael@0 | 49 | <button label="button" class="jumpy"/> |
michael@0 | 50 | <button label="button" class="jumpy"/> |
michael@0 | 51 | <button label="button" class="jumpy"/> |
michael@0 | 52 | <button label="button" class="jumpy"/> |
michael@0 | 53 | </row> |
michael@0 | 54 | <row> |
michael@0 | 55 | <button label="button" class="jumpy"/> |
michael@0 | 56 | <button label="button" class="jumpy"/> |
michael@0 | 57 | <button label="button" class="jumpy"/> |
michael@0 | 58 | <button label="button" class="jumpy"/> |
michael@0 | 59 | <button label="button" class="jumpy"/> |
michael@0 | 60 | </row> |
michael@0 | 61 | <row> |
michael@0 | 62 | <button label="button" class="jumpy"/> |
michael@0 | 63 | <button label="button" class="jumpy"/> |
michael@0 | 64 | <button label="button" class="jumpy"/> |
michael@0 | 65 | <button label="button" class="jumpy"/> |
michael@0 | 66 | <button label="button" class="jumpy"/> |
michael@0 | 67 | </row> |
michael@0 | 68 | <row> |
michael@0 | 69 | <button label="button" class="jumpy"/> |
michael@0 | 70 | <button label="button" class="jumpy"/> |
michael@0 | 71 | <button label="button" class="jumpy"/> |
michael@0 | 72 | <button label="button" class="jumpy"/> |
michael@0 | 73 | <button label="button" class="jumpy"/> |
michael@0 | 74 | </row> |
michael@0 | 75 | |
michael@0 | 76 | </rows> |
michael@0 | 77 | </grid> |
michael@0 | 78 | <spacer style="border: 2px solid white;" flex="1"/> |
michael@0 | 79 | </hbox> |
michael@0 | 80 | <spacer style="border: 2px solid white;" flex="1"/> |
michael@0 | 81 | |
michael@0 | 82 | </window> |