Template:Team:UC Davis/MutantWidget

From 2011.igem.org

(Difference between revisions)
 
Line 278: Line 278:
     $('#mw_3dplot').append("<table id='navbuttons3d' style='position:absolute;bottom:0px;left:350px;'><tr><td>&lt;</td><td>&gt;</td></tr></table>")
     $('#mw_3dplot').append("<table id='navbuttons3d' style='position:absolute;bottom:0px;left:350px;'><tr><td>&lt;</td><td>&gt;</td></tr></table>")
     $('#mw_3dplot #navbuttons3d td').css({width:'15px'})
     $('#mw_3dplot #navbuttons3d td').css({width:'15px'})
-
     $('#mw_3dplot #navbuttons3d td').eq(0).mousedown(function(){theta -= Math.PI/8;renderer.render(scene,camera);})
+
     $('#mw_3dplot #navbuttons3d td').eq(0).mousedown(function(){theta -= Math.PI/8;rerender();})
-
     $('#mw_3dplot #navbuttons3d td').eq(1).mousedown(function(){theta += Math.PI/8;renderer.render(scene,camera);})
+
     $('#mw_3dplot #navbuttons3d td').eq(1).mousedown(function(){theta += Math.PI/8;rerender();})
         $('#mw_3dplot').toggle();
         $('#mw_3dplot').toggle();
     $('#mutantwidget').parent().append('<div id="mw_sequencearea"/>');
     $('#mutantwidget').parent().append('<div id="mw_sequencearea"/>');

Latest revision as of 03:39, 29 September 2011