color: #FFFFFF;
}
+a
+{
+ color: #FFFFFF;
+ text-decoration: underline;
+}
+
/* ################################################################### */
/* Front */
/* ################################################################### */
/* Back */
+#backtext
+{
+ position: absolute;
+ top: 5px;
+ left: 15px;
+ font-size: 11px;
+}
+
+#backbutton
+{
+ position: absolute;
+ top: 55px;
+ left: 200px;
+ width: 500px;
+}
+
/* ################################################################### */
/* Flip insturments */
<style type="text/css">
@import "Widget.css";
</style>
+
<script src="Widget.js" type="text/javascript" />
+<script src="file:///System/Library/WidgetResources/button/genericButton.js" type="text/javascript" />
-<body>
+<body onload="setup()">
<!-- front -->
<div id="front" onmousemove="mousemove(event);" onmouseout="mouseexit(event);">
<img src="Default.png" alt="" />
<div id="back">
<img src="Alternate.png" alt="" />
+ <div id="backtext">
+ <h1>RGB Converter</h1>
+ <div>Version [#]version[#] ($Revision$)</div>
+ <div>©2002-[#]year[#] <a href="javascript:widget.openURL('http://www.iris-studios.com')">Iris Studios, Inc</a><div>
+ </div>
+ <div id="backbutton"></div>
</div>
<!-- / back -->
</body>
hex : ''
};
+// ###################################################################
+// widget init
+function setup()
+{
+ createGenericButton(document.getElementById("backbutton"), "Done", hide_back, 0);
+}
+
// ###################################################################
// watches the three RGB fields to make sure they don't go over the limites
function rgbwatcher(colour)