When we are going to start a designing of a website layout, we always get a stopper at the point of designing a menu and forms. We have an attention that the things must be user-friendly, merged with design and having a nice and cool look.
Anyway when the time come to code for the menus and forms, we always having a problem to make this good looking and easy coded. Here is one great solution of both the problem mentioned above.
And the best part of it, this is completely with Jquery. A very easy to understand, very light code, well commented and no heavy loading problem containing a much much simpler way.
Resource : addyosmani