843c58d4aa
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@53 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
13 lines
325 B
JavaScript
13 lines
325 B
JavaScript
function menu_select_element(el_menu, is_selected) {
|
|
|
|
if(is_selected) {
|
|
el_menu.style.background = '#00FF66';
|
|
el_menu.style.cursor = 'hand'; // for IE
|
|
el_menu.style.cursor = 'pointer';
|
|
}
|
|
else {
|
|
el_menu.style.background = '#CCFF99';
|
|
el_menu.style.cursor = 'default';
|
|
}
|
|
return true;
|
|
} |