search for: onmouseoverhandler

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

2006 Apr 29
4
Event.observe mystery
...m''. The method (simplified) looks like this: addItem: function(itemId, text) { this.container.innerHTML += ''<div id="''+itemId+''">''+text+''</div>''; Event.observe(itemId, ''mouseover'', this.onMouseOverHandler.bindAsEventListener(this), false); } I call my class in the following way: var myMenu = new Menu(); myMenu.addItem(''item1'', ''Item 1''); myMenu.addItem(''item2'', ''Item 2''); myMenu.addItem(''item3'', ''Ite...