Commit 39acf3d4 authored by Bruno Meyer's avatar Bruno Meyer 😢
Browse files

Cuidando do overflow do menu

parent 1247c0ca
......@@ -33,6 +33,7 @@ a{
height: 100%;
cursor: pointer;
overflow:auto;
}
......@@ -346,8 +347,15 @@ table#cronograma .othercolumns{
}
#navbar {
width: 100%;
height: auto;
display:none;
left:1%;
width: 98%;
height:80%;
margin-top:3px;
border-width:2px;
border-color:black;
border-style:solid;
}
#container {
......@@ -355,10 +363,9 @@ table#cronograma .othercolumns{
}
#menu {
display:none;
width: 100%;
top:0;
overflow: hidden;
overflow:auto;
}
#options {
......
......@@ -433,6 +433,7 @@ ______________________________________PATROCINIO AQUI__________________________
menuAberto = false;
//Adiciona os trigger nos botoes do menu
var filhosMenu = document.getElementById("menu").children;
for(filho in filhosMenu){
filhosMenu[filho].onclick=function(){close_menu();};
......@@ -440,13 +441,13 @@ ______________________________________PATROCINIO AQUI__________________________
function close_menu(){
if(menuAberto){
var e = document.getElementById('menu');
var e = document.getElementById('navbar');
e.style.display="none";
}
}
function open_menu(){
var e = document.getElementById('menu');
var e = document.getElementById('navbar');
if(e.style.display != "inline"){
e.style.display="inline";
menuAberto = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment