Sha256: 2fca68b934f9fbb2bcdff36cc4cdf3c1c730e8b6ac83aeec3840423b799e6a48
Contents?: true
Size: 440 Bytes
Versions: 34
Compression:
Stored size: 440 Bytes
Contents
var RuledTable = Class.create({ initialize: function(element) { if (Prototype.Browser.IE) $(element). observe('mouseover', this.onMouseOverRow.bindAsEventListener(this, 'addClassName')). observe('mouseout', this.onMouseOverRow.bindAsEventListener(this, 'removeClassName')); }, onMouseOverRow: function(event, method) { var row = event.findElement('tr'); if (row) row[method]('highlight'); } });
Version data entries
34 entries across 34 versions & 3 rubygems