1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 - You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <!DOCTYPE html [
<!ENTITY % htmlDTD PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
9 xmlns=
"http://www.w3.org/1999/xhtml"
10 xmlns:
xul=
"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
13 <title>Time Picker
</title>
16 href=
"chrome://global/skin/datetimeinputpickers.css"
18 <script src=
"chrome://global/content/bindings/timekeeper.js"></script>
19 <script src=
"chrome://global/content/bindings/spinner.js"></script>
20 <script src=
"chrome://global/content/bindings/timepicker.js"></script>
23 <div id=
"time-picker"></div>
24 <template id=
"spinner-template">
25 <div class=
"spinner-container">
27 <div class=
"spinner"></div>
28 <button class=
"down" />
32 /* import-globals-from widgets/timepicker.js */
33 // Create a TimePicker instance and prepare to be
34 // initialized by the
"TimePickerInit" event from timepicker.xml
35 new TimePicker(document.getElementById(
"time-picker"));