dreamweaver versions - drop down menu
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

replyReply Mon 23 Apr 2007, 18:46Delegate Elaine said...

Elaine has attended:
Dreamweaver 8 Introduction course

Drop down menu

How do I create a drop down menu in dreamweaver?

For upcoming training course dates see: Pricing & availability

replyReply Tue 24 Apr 2007, 10:17Trainer Rich said...

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

 

Dreamweaver tip:

Xhtml vs html

When using dreamwear template or just creating a blank webpage, you are able to select the markup language you want to use. The main choices are either xhtml or html. It is now best to select xhtml as this will translate all the html into xml, so it is transmitted across the web in xml format. One of the main advantages of this is that it makes the site that you build much more compatible with the range of different web browsers that exist.

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard