20th Jul 2018, 6:26 PM
Sina
Sina - avatar
8 ответов
+ 10
You could do something like give div2 a huge area covering most of the body. https://code.sololearn.com/WJvM9pYPzRga/?ref=app
20th Jul 2018, 6:45 PM
bobbie
bobbie - avatar
+ 2
And thank you HAPPY TOHE... too
20th Jul 2018, 6:53 PM
Sina
Sina - avatar
+ 1
then....
20th Jul 2018, 6:30 PM
Sina
Sina - avatar
+ 1
I want when a person clicked on the div1 it showes div2 and when clicked on the body div2 hides
20th Jul 2018, 6:31 PM
Sina
Sina - avatar
+ 1
oh thansk so much bobbie
20th Jul 2018, 6:51 PM
Sina
Sina - avatar
0
Yes correct so how can I fix it
20th Jul 2018, 6:33 PM
Sina
Sina - avatar
0
you mean there is no way
20th Jul 2018, 6:36 PM
Sina
Sina - avatar
0
when you click the body, div2 disappears. when you click the button, div2 appears the button activates first, then the body activates after, thus making it disappear.
21st Jul 2018, 1:44 AM
koder
koder  - avatar