showSubMenu and hideSubMenu have different parameters than showMenu and hideMenu. View the source for details.