7173626d55c6839e611a70d09e1e1c233b2577c6
kate
  Thu Apr 5 19:38:06 2012 -0700
Giving up on IE7 matrix display.  Just show data summary
diff --git src/hg/js/encodeDataSummary.js src/hg/js/encodeDataSummary.js
index 9bad0b2..6afce12 100644
--- src/hg/js/encodeDataSummary.js
+++ src/hg/js/encodeDataSummary.js
@@ -85,38 +85,44 @@
                 }
                 addDataType(dataType, tfbsExps, true);
             }
         });
         // work-around for some supplementary files being accessioned as experiments (5C)
         // they show up in both reference genome and cell assay lists incorrectly
         // remove them from refGenome list of they are in cellAssayExps
         for (dataType in refGenomeExps) {
             if (cellAssayExps[dataType] !== undefined) {
                 delete refGenomeExps[dataType];
             }
         }
         // fill in tables and activate buttons
         tableOut('#refGenomeTable', refGenomeTypes, refGenomeExps, false);
         tableOut('#elementTable', elementTypes, cellAssayExps, false);
+        tableOut('#tfbsTable', tfbsTypes, tfbsExps, true);
+
+        if (encodeProject.isIE7()) {
+            // disable buttons on IE7 -- not yet able to display matrix column headers adequately
+            $('#buttonDataMatrix').remove();
+            $('#buttonChipMatrix').remove();
+        } else { 
         $('#buttonDataMatrix').click(function () {
             window.location = 'encodeDataMatrixHuman.html';
         });
-        // TODO: enable selectable items in antibody table
-        tableOut('#tfbsTable', tfbsTypes, tfbsExps, true);
         $('#buttonChipMatrix').click(function () {
             window.location = 'encodeChipMatrixHuman.html';
         });
+        }
 
         // add row highlight
         $('.summaryTable').delegate('.even, .odd', 'mouseover mouseleave', function (ev) {
             if (ev.type == 'mouseover') {
                 $(this).addClass('rowHighlight');
             } else {
                 $(this).removeClass('rowHighlight');
             }
         });
     }
 
     function tableOut(table, types, exps, isChipSeq) {
         // Helper function to output tables to document
         var total = 0, row = 0;
         var dataType, antibodyTarget;