add javascript part // navigation open and close & alert window