search for: navbtnup

Displaying 1 result from an estimated 1 matches for "navbtnup".

2005 Nov 08
1
Event.observers - I''m totally list - please help
...> </ul> </div> I have a little unordered list like the one above. This is the code that is working: /* navigation bar */ var x = $(''nav'').getElementsByTagName(''LI''); for (var i = 0; i < x.length; i++) { if (x[i].className == ''fm-navbtnUp'') { x[i].onmouseover = _btnOver; } } function _btnOver() { alert(this.nodeName); } This is the prototype way: /* navigation bar */ var x = $(''nav'').getElementsByTagName(''LI''); for (var i = 0; i < x.length; i++) { if (x[i].className == ...