All pastes #337086 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-02 14:21 UTC
rendered paste body
Event.observe(window, 'load', function(){
    $$('table.data tr').each(function(e, i){
        Event.observe(e, 'mouseover', function(){
            e.addClassName('over');
        });
        Event.observe(e, 'mouseout', function(){
            e.removeClassName('over');
        });
        Event.observe(e, 'click', function(){
            ??????
        });
    });
});