ok, so i was making a widget, and i wanted its buttons to simulate the
behavior of links. when i press a link with either space, enter or click it
activates. with the keyboard, only enter works (at least in my FF 3.5.5).
so i wanted to create something like this:
Element.Events.activated = {
        base : ['keydown','click'],
        confirm : function(e){
            return (
                e.type === 'click',
                e.key === 'enter',
                e.key === 'space'
            );
        }
    }

the only problem is that an event can only have one base. so i was wondering
if there was a way of doing this without a rewrite to the core
-----------
אריה גלזר
052-5348-561
5561

Reply via email to