Web Hosting and Dedicated Servers Australia

Australian Hosting

 
Home
Dreamweaver - Lists and Menus
Written by Website Tutorials   
Thursday, 25 May 2006

Lists and Menus

You can add lists and menus to your document in order to give visitors a predetermined set of choices for a specific piece of information.

To insert a list or a menu either click on the button of the Form Objects Palette or select from the Form Objects menu off the Insert Menu. You will see something that looks like this:

They look exactly the same, but you might notice that some of the Properties options are grayed out when it is a list. The difference comes into place when data is entered.

To add some choices to the list, click on the 'List Values' button of the Properties Toolbar. You will see a dialog that looks like this:

Enter the first value by typing the name in the 'Item Label' field. This is what the user will see when the form is rendered on the page. You can then enter a value, which depends on the nature of the form. If this is a jumpbox, you would place a url in the value field. Other values will depend on the configuration of the Backend application used to parse the form.

To add a new value, simply click on the + (plus) button. You can then enter a new label and value. You can also get the same result by using the TAB key to move from field to field. It will automatically create a new value once it has reached the end of all existing values. To remove a value, select it by clicking once (highlight it) and click once on the - (minus) button.

Here is a sample with the numbers 1-5 used as values:

You might be asking yourself how you can widen the field. There is no way save for entering longer data. The less amount of characters in the longest label, the smaller the menu. Since we only used 1 character, the menu is 1 character wide. Here is a sample with some longer labels:

 
< Prev   Next >
 
 

Web Hosting Australia | Hosting in the US | Domain Names | Domain Names Registration | Windows Servers | Dedicated Servers | Servers |Site Tutorials