Here in this example, I have created a simple menu in JavaScript and HTML for Beginners.

I have used two simple <div> elements of HTML and two JavaScript functions to display and hide menu.

The menu is contained in a <Table> element inside a <div>, which is shown and hidden upon entering and leaving of parent <div> element.

The complete source code can be found here.

0 comments: