Changeset 2572 for trunk/expressoMail1_2/js/jscode/color_palette.js
- Timestamp:
- 04/16/10 17:36:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/jscode/color_palette.js
r2517 r2572 12 12 new Array("#000000","#330000","#663300","#663333","#333300","#003300","#003333","#000066","#330099","#330033")); 13 13 this.buildPalette(); 14 } 14 }; 15 15 16 16 // funçoes … … 20 20 document.getElementById("palettecolor").style.visibility="hidden"; 21 21 mainField.focus(); 22 } 22 }; 23 23 24 24 cColorPalette.prototype.repos = function (intElemScrollTop) … … 26 26 var new_pos = findPosY(Element("forecolor")) - intElemScrollTop + 20; 27 27 this.div.style.top = new_pos; 28 } 28 }; 29 29 30 30 cColorPalette.prototype.loadPalette = function (id) … … 48 48 this.div.style.left = findPosY(Element("forecolor"))+ 227; 49 49 } 50 } 50 }; 51 51 52 52 cColorPalette.prototype.buildPalette = function (){ … … 83 83 _td.onclick= function(){ document.getElementById("palettecolor").style.visibility="hidden";ColorPalette.changeFontColor(this.id);}; 84 84 _td.onmouseover = function(){ this.className = "sel_color";}; 85 _td.onmouseout = function(){ this.className = "unsel_color";} 85 _td.onmouseout = function(){ this.className = "unsel_color";}; 86 86 var p = new Image(); 87 87 p.style.width='1px'; … … 91 91 } 92 92 } 93 } 93 }; 94 94 95 95 /* Build the Object */
Note: See TracChangeset
for help on using the changeset viewer.