Template:Team:UC Davis/KO3D

From 2013.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 264: Line 264:
     $("#mutantwidget").append('<div id="mw_selectmenu"/>');
     $("#mutantwidget").append('<div id="mw_selectmenu"/>');
     $("#mutantwidget").append('<div id="mw_optionsmenu"><table id="mw_optionstable"></table></div>');
     $("#mutantwidget").append('<div id="mw_optionsmenu"><table id="mw_optionstable"></table></div>');
-
     if($("#mutantwidget .dataMax").length == 1)
+
     if($("#mutantwidget .dataMax").text() == 3)
     {$("#mutantwidget").append('<div id="mw_zoommenu"><table id="mw_zoomoptionstable"></table></div>');}
     {$("#mutantwidget").append('<div id="mw_zoommenu"><table id="mw_zoomoptionstable"></table></div>');}
Line 281: Line 281:
         if($("#mutantwidget .dataMax") .length == 1)
         if($("#mutantwidget .dataMax") .length == 1)
         {
         {
 +
            $('#mw_zoomoptionstable').append("<tr><th>Ymax</th></tr>");
             $('#mw_zoomoptionstable').append("<tr><td onClick>80000</td></tr>");
             $('#mw_zoomoptionstable').append("<tr><td onClick>80000</td></tr>");
             $('#mw_zoomoptionstable').append("<tr><td>10000</td></tr>");
             $('#mw_zoomoptionstable').append("<tr><td>10000</td></tr>");
Line 487: Line 488:
     if (dataMax.length == 0)
     if (dataMax.length == 0)
     { dataMax = 90000; }
     { dataMax = 90000; }
 +
    else if (dataMax == 3)
 +
    { dataMax = 80000; }
     axisdimensions = [0, 1, 0, 10, 0, dataMax];
     axisdimensions = [0, 1, 0, 10, 0, dataMax];
     data = [];
     data = [];
Line 1,047: Line 1,050:
         $('#mw_selectmenu td').eq(0).mouseover().click();
         $('#mw_selectmenu td').eq(0).mouseover().click();
         $('#mw_selectmenu td').eq(1).mouseover().click();
         $('#mw_selectmenu td').eq(1).mouseover().click();
 +
        $('#mw_selectmenu td').eq(3).mouseover().click();
         $('#mw_optionstable td').eq(1).mouseover().click();
         $('#mw_optionstable td').eq(1).mouseover().click();
 +
        $('#mw_zoomoptionstable td').eq(0).mouseover().click();
});
});
</script>
</script>
Line 1,111: Line 1,116:
margin-left: 3px;
margin-left: 3px;
background: rgba(0,0,0,.6);
background: rgba(0,0,0,.6);
 +
}
 +
 +
#mw_zoomoptionstable th{
 +
color:rgba(225,225,225,1);
}
}

Latest revision as of 02:07, 29 October 2013