From 3a8a354cae490d5a16e9cbfa9c8b6538453b702b Mon Sep 17 00:00:00 2001 From: miles Date: Tue, 9 Apr 2013 22:11:07 +0000 Subject: [PATCH] Heatmap Changes: - jump to cluster button is now working - jump to gene is still not svn path=/; revision=462 --- Personnel/miles/Web Page/heatMap.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Personnel/miles/Web Page/heatMap.php b/Personnel/miles/Web Page/heatMap.php index fda8828..adf7575 100644 --- a/Personnel/miles/Web Page/heatMap.php +++ b/Personnel/miles/Web Page/heatMap.php @@ -112,8 +112,8 @@ Click on a species name, cluster number, or cell for more information. -
- + +
@@ -388,13 +388,13 @@ function getBoxInfo(cluster, species, clusterIndex, speciesIndex) { document.infoForm.submit(); } -function jumpToCluster() { - var cluster = parseInt(document.getElementById('jumpTo').cluster.value); +function getClusterLoc() { + var cluster = parseInt(document.jumpToCluster.cluster.value); if(cluster > clusterCount) { alert("No such cluster exists for this result set!"); return; } - document.getElementById("scrollDiv").scrollTop = (cluster-1)*cellSize; + document.getElementById("topScrollDiv").scrollTop = (cluster-1)*cellSize; drawMap(); } @@ -428,7 +428,7 @@ function getGeneLoc() { if(parseInt(allClusterIDs[i])==clusterID) { c = i; document.getElementById('jumpTo').cluster.value = i+1; - jumpToCluster() + getClusterLoc() } } for(i = 0; i < allSpecies.length; i ++) { -- 2.34.1