dreamweaver versions - drop down menu

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver versions - Drop down menu

dreamweaver versions - Drop down menu

resolvedResolved · Low Priority · Version Standard

Elaine has attended:
Dreamweaver 8 Introduction course

Drop down menu

How do I create a drop down menu in dreamweaver?

RE: drop down menu

Hi Elaine,

Welcome back to the forum!

I assume by 'drop down menu' you mean a selectbox form element.

The other type of drop down menu is a layer that appears, sometimes with animation. This is slightly more complicated, but if it's what you mean, reply to this post and i'll answer that separately.

The selectbox form element is much easier to implement, and Dreamweaver has a built in 'jumpmenu' behaviour. Each item in the select box should contain a value and a name (label). If there is no value specified, the value usually then becomes the name, but not in all cases, so it's best to specify both, even if they're the same.

The code looks a bit like this:
<select name="mydropdown">
<option value="cc">Credit Card</option>
<option value="chq">Cheque</option>
</select>

This will produce a selectbox with two items. One appears to the user as Credit Card, but when submitted passes the value "cc". The other appears as Cheque, but when submitted passes the value "chq".

In Dreamweaver, to insert a jump menu where a dialogue box will help you set this up, go to Insert -> Form objects -> Jump menu. (this is the steps in Dreamweaver MX, but will be similar in other versions). The Jump menu behaviour usually allows you to specify whether you want the visitor to hit a 'go' button, or go straight to the page once the new selection has been made.

I hope this answers your question. If it has, please mark this question as resolved. Otherwise, please reply with a follow-up.

Have you considered coming on our Dreamweaver Intermediate course?

Regards, Rich

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


Server loaded in 0.09 secs.