Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
Line 117: Line 117:
$("#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>');
 +
 +
 +
$("#mw_selectmenu").append("<table id='seltable'/>");
 +
$('#mutantwidget h3').wrapInner('<td/>').children().unwrap().css({opacity:.3}).wrap('<tr/>');
 +
$('#mutantwidget tr').appendTo($('#mutantwidget #seltable'));
         if($("#mutantwidget .zdata_3d").length > 0)
         if($("#mutantwidget .zdata_3d").length > 0)
         {
         {
Line 123: Line 128:
             $('#mw_optionstable').append("<tr><td>Sequence</td></tr>");
             $('#mw_optionstable').append("<tr><td>Sequence</td></tr>");
         }
         }
-
 
-
 
-
$("#mw_selectmenu").append("<table id='seltable'/>");
 
-
$('#mutantwidget h3').wrapInner('<td/>').children().unwrap().css({opacity:.3}).wrap('<tr/>');
 
-
$('#mutantwidget tr').appendTo($('#mutantwidget #seltable'));
 
$('#mutantwidget').prepend('<div id="mw_grapharea"/>');
$('#mutantwidget').prepend('<div id="mw_grapharea"/>');
$('#mw_grapharea').append('<div id="mw_plot"/>');
$('#mw_grapharea').append('<div id="mw_plot"/>');

Revision as of 00:51, 25 September 2011