Wednesday, January 21, 2009

at 9:12 AM Posted by Visuals India

You can dynamically populate an HTML form menu or list menu with entries from a database.

For most pages, you can use an HTML menu object. For ASP.NET pages, you must use a Drop Down List or list box form control. For more information, see Building ASP.NET forms.

Before you begin, you must insert an HTML form in a cold fusion, PHP, ASP, or JSP page, and you must define a record set or other source of dynamic content for the menu. For more information, see Defining a record set.

To insert a dynamic HTML form menu:

  1. Click inside the HTML form on your page.
  2. Select Insert > Form > List/Menu.

    Dreamweaver inserts a List/Menu form object into the page.

  3. Select the List/Menu form object.

    The Property inspector displays the List/Menu properties.

  4. In the Property inspector, click the Dynamic button to display the Dynamic List/Menu dialog box.

    This is a picture of the feature being described.

  5. Complete the dialog box and click OK.

    For more information, see Setting the Dynamic List/Menu dialog box options.

0 comments: