You can use macro expressions in case you are using text transformation to create the "if then else" logic or, on given page I would use separate web part to build the menu. On this page the main menu will be hidden and the special menu for this page will be displayed.