HowcanIunmarkacheckboxifIclickonanotherfieldinthesite?
Thecheckboxissothatwhenthestateischecked,it'drags'mymenufrom-65%to0andappearsonthescreen,beingusedinaresponsivemobilelayout.
UnfortunatelyIhavenoideahowthiscanbedone,butIbelieveit'sinjavascript/jquery.
Ex:
<headerid="menuCelular">
<input type="checkbox" id="btn-menu">
<label id="barra-icon-menu" for="btn-menu"><label id="txt-menu" for="btn-menu">Menu</label></label>
<nav class="menuMobile">
<ul class="menu">
<li id="mapa-menu" class="abre-dropdown"><a href="\">Mapa do site</a>
<ul class="submenu-1">
<li><a href="\">link</a></li>
<li><a href="\">link</a></li>
<li><a href="\">link</a></li>
</ul>
</li>
<li class="abre-dropdown"><a href="\">>Aprendizado</a>
<ul class="submenu-1">
<li><a href="\">link</a></li>
<li><a href="\">link</a></li>
<li><a href="\">link</a></li>
</ul>
</li>
<li class="textos-menu"><a href="\" title="\">Textos</a></li>
<li class="fotos-menu"><a href="\" title="\"></label>Fotos</a></li>
</ul>
</nav>
</header>
Now when the menu is open, if I click bar #menuCell it does not close, unless I press outside the .menuMobile region