Changeset 38 for trunk/contactcenter/js/ccMain.js
- Timestamp:
- 06/29/07 16:03:54 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/contactcenter/js/ccMain.js
r2 r38 71 71 textmenu = []; 72 72 73 textmenu[0] = [" Contato [Adição Rápida]","Contato [Completo]","Grupo"]73 textmenu[0] = ["cc_msg_contact_qa","cc_msg_contact_full","cc_msg_group"] 74 74 textmenu[1] = ["cc_quick_add", "cc_full_add", "cc_add_group"]; 75 75 function show(){ … … 86 86 87 87 for (i=0; i< textmenu[0].length; i++) { 88 textmenu[0][i] = "<span onclick= 'menu.onmouseout();'>" + textmenu[0][i]+ "</span><br>";88 textmenu[0][i] = "<span onclick= 'menu.onmouseout();'>" + document.getElementById(textmenu[0][i]).value + "</span><br>"; 89 89 submenu[i] = document.createElement("DIV"); 90 90 submenu[i].innerHTML = textmenu[0][i]; 91 91 submenu[i].id = textmenu[1][i]; 92 submenu[i].onmouseover = function () {this.style.backgroundColor = 'LIGHTYELLOW';this.style.color = 'DARKBLUE';}; 92 submenu[i].onmouseover = function () {this.style.backgroundColor = 'LIGHTYELLOW';this.style.color = 'DARKBLUE';}; 93 93 submenu[i].onmouseout = function () { this.style.backgroundColor = '#DCDCDC'; this.style.color = '#006699';}; 94 94 submenu[i].setAttribute("className", "special"); … … 175 175 function resizeWindow(){ 176 176 setDefaultHeight(); 177 Element("divScrollMain").style.height = defaultHeight - 108; 177 if(Element("divScrollMain")) 178 Element("divScrollMain").style.height = defaultHeight - 108; 178 179 if (!is_ie) 179 180 Element('tableDivAppbox').width = '100%';
Note: See TracChangeset
for help on using the changeset viewer.