Team:Paris Bettencourt/Menu

From 2013.igem.org

(Difference between revisions)
Line 308: Line 308:
<script type="text/javascript">
<script type="text/javascript">
   function changemenu(){
   function changemenu(){
-
     $('.left-menu').show();
+
     if(document.getElementById('menubar').style.display == 'none') {
-
    $('.right-menu').show();
+
      $('.left-menu').show();
-
    document.getElementById('ooswitch').style.backgroundColor = "rgb(228,45,51)";
+
      $('.right-menu').show();
 +
      document.getElementById('ooswitch').style.backgroundColor = "rgb(228,45,51)";
 +
    }
   }
   }
</script>
</script>

Revision as of 22:18, 15 September 2013