utt/www/js/menu.js
pawelk 843c58d4aa Wgrałem biezaca wersje strony www.
git-svn-id: svn://atos.wmid.amu.edu.pl/utt@53 e293616e-ec6a-49c2-aa92-f4a8b91c5d16
2008-05-16 07:13:31 +00: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;
}