How to Create Dropdown Menu in Web Application

I am new in VB.Net and have a littlie bit knowledge I want to develop Web application with Dropdown menu could any body guide me how can it possible.
MehramAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pzmatekCommented:
It doesn't matter if you use VB or whatever else.
Dropdown menus are usually made by using css or javascript.
You just put the code inside your presentation file.

Just browse google for "html dropdown menu"
CarlosMMartinsCommented:
Try the example from www.w3schools.com at http://www.w3schools.com/html/tryit.asp?filename=tryhtml_select2

<html>
<body>

<form>
<select name="cars">
<option value="volvo">Volvo
<option value="saab">Saab
<option value="fiat">Fiat
<option value="audi">Audi
</select>
</form>

</body>
</html>


pzmatekCommented:
Guys, are you talking about dropdown lists or menus?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

CarlosMMartinsCommented:
oops. misread the question sorry.

For menus, yes, CSS and javascript.
Have a look at http://www.dynamicdrive.com/dynamicindex1/chrome/index.htm
for an example.
liviutudorCommented:
it's as simple as using some DIVs and absolute positioning combined with probably CSS display:none/display:inline and some javascripts. any search on a major search engine for this would bring loads of results.
MehramAuthor Commented:
What is DIVs and how can use this?
CarlosMMartinsCommented:
If you follow the link I provided in my previous post, you'll find an example, and step by step instructions on how to get it running.
Basically you place your menu elements inside DIVs that are tags defining a division/section in a document.
So, you can control those "elements" via Javascript, toggling their visibility, positioning, etc.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MehramAuthor Commented:
I want to use this code on my VB.Net project could you guide me were it will be paste

<div id="chromemenu">
<ul>
<li><a href="http://www.dynamicdrive.com">Home</a></li>
<li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu1')">Resources</a></li>
<li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu2')">News</a></li>
</ul>
</div>

<!--1st drop down menu -->
<div id="dropmenu1" class="dropmenudiv">
<a href="http://www.dynamicdrive.com/">Dynamic Drive</a>
<a href="http://www.cssdrive.com">CSS Drive</a>
<a href="http://www.javascriptkit.com">JavaScript Kit</a>
</div>

<!--2nd drop down menu -->
<div id="dropmenu2" class="dropmenudiv" style="width: 150px;">
<a href="http://www.cnn.com/">CNN</a>
<a href="http://www.msnbc.com">MSNBC</a>
</div>

Rgds.
Mehram
CarlosMMartinsCommented:
First you need the support files, with the javascript, css, and images.
As mentioned on the site, you can find them at http://www.dynamicdrive.com/dynamicindex1/chrome/chromemenu.zip
donwload that package, unzip it to a test folder, and have a look at the demo.htm file.

Basically you just need to put these lines in the <HEAD> section of your html:

<link rel="stylesheet" type="text/css" href="chrometheme/chromestyle.css" />
<script type="text/javascript" src="chromejs/chrome.js">
/***********************************************
* Chrome CSS Drop Down Menu- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>

And then add the other part (the one you posted above) in tnside the <Body> section
(that's exactly what you'll see in the demo.htm file)
MehramAuthor Commented:
Dear Sir, this is my first test but your provided detail is really helpfull for me I would must be appreciate your cooperation. Sir if i face any problem i further need your assistance. Tks. Mehram
CarlosMMartinsCommented:
we're here to help. :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.