Are there any tutorials (some JavaScript framework perhaps?) that will explain how to produce a top-level menu like the following?
Where the drop down part can be any width and can contain images/links.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try jQuery. It makes creating JavaScript UIs much easier. There are also a large number of plugins for it.
And even if you can’t find a tutorial to make a menu specifically like the one on that site, it should be simple to adapt a regular dropdown menu—granted that you know JavaScript and CSS.
E.g. most dropdown menus use nested
ULelements to create a hierarchical menu/list. TheLIelements represent each menu item, which can contain anything from a text label to a submenu. A basic nav bar with dropdown menus might look like this:To create the look you want, you’d just add images to your
menudivs and apply the appropriate CSS: