Adding a new back widget
[rgbconverter.git] / RGB Converter.wdgt / Widget.html
1 <!--
2 /*=====================================================================*\
3 || ###################################################################
4 || # RGB Converter [#]version[#]
5 || # Copyright ©2002-[#]year[#] Blue Static
6 || #
7 || # This program is free software; you can redistribute it and/or modify
8 || # it under the terms of the GNU General Public License as published by
9 || # the Free Software Foundation; version [#]gpl[#] of the License.
10 || #
11 || # This program is distributed in the hope that it will be useful, but
12 || # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 || # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 || # more details.
15 || #
16 || # You should have received a copy of the GNU General Public License along
17 || # with this program; if not, write to the Free Software Foundation, Inc.,
18 || # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
19 || ###################################################################
20 \*=====================================================================*/
21 -->
22
23 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
26 <head>
27 <title>RGB Conveter $Revision$</title>
28 </head>
29
30 <style type="text/css">
31 @import "Widget.css";
32 </style>
33
34 <script src="Widget.js" type="text/javascript" />
35 <script src="file:///System/Library/WidgetResources/button/genericButton.js" type="text/javascript" />
36
37 <body onload="setup()">
38 <!-- front -->
39 <div id="front" onmousemove="mousemove(event);" onmouseout="mouseexit(event);">
40
41 <div style="z-index: 500; position: absolute"><img src="Front.png" alt="" style="" /></div>
42 <div id="hexinput">HEX Code <input type="text" name="hexinput" id="hexinputf" size="6" maxlength="6" onblur="hexwatcher()" value="000000" /></div>
43
44 <div id="swatch"></div>
45 <div id="swatch-red"></div>
46 <div id="swatch-green"></div>
47 <div id="swatch-blue"></div>
48
49 <div id="redinput"><input type="text" name="redinput" id="redinputf" style="color: red" size="3" maxlength="3" onblur="rgbwatcher('red')" value="0" /></div>
50 <div id="greeninput"><input type="text" name="greeninput" id="greeninputf" style="color: green" size="3" maxlength="3" onblur="rgbwatcher('green')" value="0" /></div>
51 <div id="blueinput"><input type="text" name="blueinput" id="blueinputf" style="color: blue" size="3" maxlength="3" onblur="rgbwatcher('blue')" value="0" /></div>
52
53 <div class="flip" id="fliprollie"></div>
54 <div class="flip" id="flip" onclick="show_back(event);" onmouseover="enterflip(event);" onmouseout="exitflip(event)";></div>
55
56 </div>
57 <!-- / front -->
58
59 <!-- back -->
60 <div id="back">
61 <img src="Back.png" alt="" />
62
63 <div id="backtext">
64 <div><strong style="font-size: 12px">RGB Converter</strong>, [#]version[#] <span id="revision">($Revision$)</span></div>
65 <div>&copy;2002-[#]year[#] <a href="javascript:widget.openURL('http://www.bluestatic.org')">Blue Static</a><div>
66 </div>
67
68 <div id="backbutton"></div>
69 </div>
70 <!-- / back -->
71 </body>
72 </html>
73
74 <!--
75 /*=====================================================================*\
76 || ###################################################################
77 || # $HeadURL$
78 || # $Id$
79 || ###################################################################
80 \*=====================================================================*/
81 -->