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

Version Path
radiantcms-couchrest_model-0.2.4 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.2.2 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.2.1 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.2 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.1.9 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.1.8 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.1.7 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.1.6 public/javascripts/admin/ruledtable.js
radiantcms-couchrest_model-0.1.5 public/javascripts/admin/ruledtable.js
radiant-0.7.2 public/javascripts/admin/ruledtable.js
radiant-0.8.2 public/javascripts/admin/ruledtable.js
radiant-0.8.1 public/javascripts/admin/ruledtable.js
metry-2.0.4 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.0.5 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.1.0 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.1.1 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.0.0 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.0.1 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.0.2 radiant/example/public/javascripts/admin/ruledtable.js
metry-2.0.3 radiant/example/public/javascripts/admin/ruledtable.js