Stop open / close | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Stop open / close

https://code.sololearn.com/W8FhIBcaIhPK/?ref=app How to say if the menu is opened (left==0) stop continue to open it ?

18th Apr 2018, 11:23 AM
NoxFly
NoxFly - avatar
6 Answers
+ 6
if (parseInt (menu.style.left) === 0){ // stopopening; }
18th Apr 2018, 12:11 PM
Morpheus
Morpheus - avatar
+ 5
OMG Morpheus is REAL in THE MATRIX!!!...😨😨😨😰😰😰
18th Apr 2018, 2:07 PM
Mirul Makenkov II
Mirul Makenkov II - avatar
+ 5
Morpheus but Neo and Trinity is yr assistant right???
18th Apr 2018, 2:37 PM
Mirul Makenkov II
Mirul Makenkov II - avatar
+ 5
Yeah Morpheus, i like the part when Agent Smith vs Neo...😎
18th Apr 2018, 2:51 PM
Mirul Makenkov II
Mirul Makenkov II - avatar
+ 5
Im sorry Morpheus...😕😕
18th Apr 2018, 2:55 PM
Mirul Makenkov II
Mirul Makenkov II - avatar
+ 3
thanks morpheus, I will try
18th Apr 2018, 3:51 PM
NoxFly
NoxFly - avatar