Macromedia dreamweaver 8-using dreamweaver User Manual
726
Chapter 35: Displaying Database Records
Creating a navigation bar using the Recordset
Navigation Bar server behavior
Navigation Bar server behavior
You can create a recordset navigation bar in a single operation using the Recordset Navigation
Bar server behavior. The server object adds the following building blocks to the page:
Bar server behavior. The server object adds the following building blocks to the page:
■
An HTML table with either text or image links
■
A set of “Move to” server behaviors
■
A set of “Show Region” server behaviors
The text version of the Recordset Navigation Bar looks like this:
The image version of the Recordset Navigation Bar looks like this:
Before placing the navigation bar on the page, make sure the page contains a recordset to
navigate and a page layout in which to display the records.
navigate and a page layout in which to display the records.
After placing the navigation bar on the page, you can use the Dreamweaver design tools to
customize the bar to your liking. You can also edit the “Move to” and “Show Region” server
behaviors by double-clicking them in the Server Behaviors panel.
customize the bar to your liking. You can also edit the “Move to” and “Show Region” server
behaviors by double-clicking them in the Server Behaviors panel.
If you want to build the navigation bar block by block using the Dreamweaver design tools
and the Server Behaviors panel, see
and the Server Behaviors panel, see
To create the recordset navigation bar with the server object:
1.
In Design view, place the insertion point at the location on the page where you want the
navigation bar to appear.
navigation bar to appear.
2.
Display the Recordset Navigation Bar dialog box (Insert > Application Objects >
Recordset Navigation Bar).
Recordset Navigation Bar).
The Insert Recordset Navigation Bar dialog box appears.