var clhide = document.getElementsByClassName('clshids');
for (var i = 0; i < clhide.length; i ++) { clhide[i].style.display = 'none'; } document.getElementById("btn2015").style.background = '#ecfbfc'; document.getElementById("btn2015").style.borderColor = '#95e6ec'; document.getElementById('div2015').style.display = 'block'; function mostrarsap(liOptions) { var banners = document.getElementsByClassName('conts'); for (var i = 0; i < banners.length; i ++) { banners[i].style.display = 'none'; } var currentId = liOptions.getAttribute("showDiv"); document.getElementById(currentId).style.display = 'block'; var clHov = document.getElementsByClassName('cbhove'); var hove = liOptions.getAttribute("id"); for(var j=0; j< clHov.length; j++) { clHov[j].style.background = '#ffffff'; clHov[j].style.borderColor= '#eeeeee'; } document.getElementById(hove).style.background = '#ecfbfc'; document.getElementById(hove).style.borderColor = '#95e6ec'; }
Recent Comments