Duplicate javascript for Codrops MULTI-LEVEL PUSH MENU
问题 A bit of a newbie when it comes to javascript. My question is regarding a push-menu script from codrops that can be find here: http://tympanus.net/codrops/2013/08/13/multi-level-push-menu/ I am trying to have 2 different nav triggered by 2 different link/triggers. I duplicated the script as follow: new mlPushMenu( document.getElementById( ‘mp-menu’ ), document.getElementById( ‘trigger’ ), { type : ‘cover’ } ); new mlPushMenu( document.getElementById( ‘mp-menu2′ ), document.getElementById(