<script> function xianshi(){ var odaohang1=document.getElementById('daohang1'); var ozuocedaohang=document.getElementById('zuocedaohang1'); var otoggle=document.getElementById('toggle-sidebar'); if($('#zuocedaohang1').is(':hidden') ){ odaohang1.style.display='none'; } ozuocedaohang.style.display='block'; } </script>