/* ################################################################### */
/* Front */
+#frontimage
+{
+ z-index: 500;
+ position: absolute;
+}
+
#redinput
{
+ z-index: 1000;
+ font-size: 11px;
+
position: absolute;
- top: 64px;
- left: 35px;
- width: 50px;
+ top: 5px;
+ left: 220px;
+ width: 70px;
}
#greeninput
{
+ z-index: 1000;
+ font-size: 11px;
+
position: absolute;
- top: 64px;
- left: 104px;
- width: 50px;
+ top: 5px;
+ left: 317px;
+ width: 70px;
}
#blueinput
{
+ z-index: 1000;
+ font-size: 11px;
+
position: absolute;
- top: 64px;
- left: 173px;
- width: 50px;
+ top: 5px;
+ left: 422px;
+ width: 70px;
}
#hexinput
{
+ z-index: 1000;
+ font-size: 11px;
+ font-weight: bold;
+
position: absolute;
top: 5px;
left: 75px;
width: 200px;
- font-size: 11px;
- font-weight: bold;
-
- z-index: 1000;
}
/* ################################################################### */
#swatch
{
- z-index: 1;
+ z-index: 100;
position: absolute;
top: 0px;
height: 35px;
width: 65px;
- background-color: rgb(255, 255, 255);
+ background-color: rgb(81, 105, 149);
}
#swatch-red
{
- z-index: 1;
+ z-index: 100;
position: absolute;
top: 0px;
height: 35px;
width: 100px;
- background-color: rgb(255, 0, 0);
+ background-color: rgb(81, 0, 0);
}
#swatch-green
{
- z-index: 1;
+ z-index: 100;
position: absolute;
top: 0px;
height: 35px;
width: 100px;
- background-color: rgb(0, 255, 0);
+ background-color: rgb(0, 105, 0);
}
#swatch-blue
{
- z-index: 1;
+ z-index: 100;
position: absolute;
top: 0px;
height: 35px;
width: 100px;
- background-color: rgb(0, 0, 255);
+ background-color: rgb(0, 0, 149);
}
/* ################################################################### */
<!-- front -->
<div id="front" onmousemove="mousemove(event);" onmouseout="mouseexit(event);">
- <div style="z-index: 500; position: absolute"><img src="Front.png" alt="" style="" /></div>
- <div id="hexinput">HEX Code <input type="text" name="hexinput" id="hexinputf" size="6" maxlength="6" onblur="hexwatcher()" value="FFFFFF" /></div>
+ <div id="hexinput">HEX Code <input type="text" name="hexinput" id="hexinputf" size="6" maxlength="6" onblur="hexwatcher()" value="516995" /></div>
+
+ <div id="redinput">Red <input type="text" name="redinput" id="redinputf" size="3" maxlength="3" onblur="rgbwatcher('red')" value="81" /></div>
+ <div id="greeninput">Green <input type="text" name="greeninput" id="greeninputf" size="3" maxlength="3" onblur="rgbwatcher('green')" value="105" /></div>
+ <div id="blueinput">Blue <input type="text" name="blueinput" id="blueinputf" size="3" maxlength="3" onblur="rgbwatcher('blue')" value="149" /></div>
<div id="swatch"></div>
<div id="swatch-red"></div>
<div id="swatch-green"></div>
<div id="swatch-blue"></div>
- <div id="redinput"><input type="text" name="redinput" id="redinputf" style="color: red" size="3" maxlength="3" onblur="rgbwatcher('red')" value="255" /></div>
- <div id="greeninput"><input type="text" name="greeninput" id="greeninputf" style="color: green" size="3" maxlength="3" onblur="rgbwatcher('green')" value="255" /></div>
- <div id="blueinput"><input type="text" name="blueinput" id="blueinputf" style="color: blue" size="3" maxlength="3" onblur="rgbwatcher('blue')" value="255" /></div>
-
<div class="flip" id="fliprollie"></div>
<div class="flip" id="flip" onclick="show_back(event);" onmouseover="enterflip(event);" onmouseout="exitflip(event)";></div>
+ <div id="frontimage"><img src="Front.png" alt="" style="" /></div>
+
</div>
<!-- / front -->