there is no 'hideBar()' in dhtmlXMenuObject


You can try to hide/show container where menu is initialized:


menu = new dhtmlXMenuObject(“menuObj”);

function hide(){
document.getElementById(“menuObj”).style.display=“none”
}
function show(){
document.getElementById(“menuObj”).style.display=""
}