utt/_old/www/js/menu.js
2009-10-17 14:48:21 +02:00

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;
}