colorchooser








TABLE.colorChooser { background-color: buttonface; border:0}
.colorChooser TD { border: 1px inset buttonface; cursor: hand; }
.colorChooserLabel TD { width: 100%; border: 0;
font-family: "MS Sans Serif"; font-size: xx-small; vertical-align: middle;
}
TD.colorNone { font-family: "MS Sans Serif"; font-size: xx-small; vertical-align: middle;
text-align: center; border: 1px outset buttonface!important; }





var public_description = new ColorMenu();

function ColorMenu() {
}

function initialise(){
c=main.insertCell(); //insert cell & set porperties
c.id ="display";
c.rowSpan="3";
c.colSpan="6";
}

function hover(on) {
var el = window.event.srcElement;
var disp = document.getElementById("display"); //get display cell
if (el && el.nodeName == "IMG") {
if (on) {
disp.bgColor=el.parentElement.title; //set display cell bgcolor to hovered
// removed the style on hover as too slow
}
}
}
function choose(on) {
var el = window.event.srcElement;
if (el && el.nodeName == "IMG") {
window.external.raiseEvent("onselect", el.parentElement.title);
}
if (el && el.nodeName == "TD") {
window.external.raiseEvent("onselect", null);
}
}




Standard Colors















Web Safe



d = new Array();
d[1] = "00";
d[2] = "33";
d[3] = "66";
d[4] = "99";
d[5] = "CC";
d[6] = "FF";


for (c=1;c

Wyszukiwarka

Podobne podstrony:
ColorChooserComponentFactory
colorchart
StyleConstants ColorConstants
ColorChooserComponentFactory
ColorConvertOp
ColorChooserUI
StyleConstants ColorConstants
ColorChooserUI
ColorConvertOp
colorcodes

więcej podobnych podstron