Menu with SubMenu [on hold]

I am designing a Horizontal Menu with Sub Menu.Problem I'm facing is to produce this,when I click on any of the main menu list item,remaining list items should hide and sub menu has to slide from left side of the screen. Django-Html

Javascript