Template:Team:UC Davis/KO3D

From 2013.igem.org

(Difference between revisions)
Line 254: Line 254:
     FAR = 10000;
     FAR = 10000;
-
 
+
function setDataMax ()
 +
{
 +
var dataMax = $('#mutantwidget .dataMax').text();
 +
if (dataMax.length == 0)
 +
{ dataMax = 6000; }
 +
}
mutantcolors = ["white", "#ff6666",  "yellow", "#66ff66", "#66ffff", "#ddaaff", "pink"];
mutantcolors = ["white", "#ff6666",  "yellow", "#66ff66", "#66ffff", "#ddaaff", "pink"];
mutantcolors_hex = [0xffffff, 0xff6666, 0xffff00, 0x66ff66, 0x66ffff, 0xddaaff, 0xffc0cb];
mutantcolors_hex = [0xffffff, 0xff6666, 0xffff00, 0x66ff66, 0x66ffff, 0xddaaff, 0xffc0cb];
Line 261: Line 266:
have_3d_data = false;
have_3d_data = false;
$(document).ready(function(){
$(document).ready(function(){
-
var dataMax = $('#mutantwidget .dataMax').text();
 
-
if (dataMax.length == 0)
 
-
{ dataMax = 6000; }
 
     $("#mutantwidget").append('<div id="mw_selectmenu"/>');
     $("#mutantwidget").append('<div id="mw_selectmenu"/>');

Revision as of 07:32, 26 October 2013