Team:UCLA/Template/Javascript

From 2014.igem.org

(Difference between revisions)
Line 165: Line 165:
     disableOther( 'showLeft' );
     disableOther( 'showLeft' );
};
};
-
showRight.onclick = function() {
 
-
    classie.toggle( this, 'active' );
 
-
    classie.toggle( menuRight, 'cbp-spmenu-open' );
 
-
    disableOther( 'showRight' );
 
-
};
 
-
 
function disableOther( button ) {
function disableOther( button ) {
     if( button !== 'showLeft' ) {
     if( button !== 'showLeft' ) {

Revision as of 23:14, 6 August 2014