Use the following
steps to accomplish that:
1. Choose View ??? Head Content to expose the region in Dreamweaver??™s Document window.
2. Choose Insert ??? HTML ??? Script Objects ??? Script. Alternatively, you could click the Script icon in
the HTML category of the Insert bar. The Script dialog box, shown in Figure 21-13, is displayed.
707
Managing Data 21
FIGURE 21-13
If you are new to JavaScript, use Dreamweaver??™s Script object for inserting code.
3. Select JavaScript from the Language list.
4. Enter the desired functions into the Content text area. You can enter as many of the functions as
you??™d like, or all of them.
5. Click OK when you??™re finished.
If you??™re more familiar with JavaScript, you can enter the functions directly through Dreamweaver??™s Code
view. The functions can be inserted into an existing tag pair, or you can create
your own. Next, you add the final piece of the basic puzzle: the hidden variables.
Step 4: Insert the hidden variables
Whenever a Recordset Paging server behavior is applied, whether manually or automatically by inserting an
Application object, Dreamweaver writes a bit of server-side code in the href attribute of the
tag surrounding
the trigger element. It is this code that you must make accessible for the Flash button to work
properly as a recordset navigation tool.
Pages:
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241