6. Enter the desired font size if appropriate, in points, in the Size field.
7. Enter a JavaScript call to a function that sets the recordset navigation in the Link field. For this
example, you can use the functions moveNext(), movePrev(), moveFirst(), and
moveLast(). For a button that moves to the next record, the entry into the Link field reads as
follows:
javascript:moveNext();
8. Leave the Target field blank.
9. If the Flash button is to be placed on a page or in a table with a background color other than
white, select the Bg Color swatch to choose an appropriate background. Alternatively, enter the
hexadecimal color number or standard color name directly in the Bg Color text field.
10. Enter a path and filename for the Flash button file. If you like, you can use the suggested default
name in the site root, or click the Browse button to choose a different location.
706
Incorporating Dynamic Data Part IV
11. Click Apply to insert the button at the cursor location on the page.
12. Click OK when you??™re finished.
The JavaScript function names listed in the steps here may be changed to whatever you like. However, be
sure to use the same names as the actual functions when you insert them in the code, as described in the
next step.
Step 3: Include the JavaScript functions
As JavaScript functions go, the functions referenced in the Flash Button Link field are as simple as they
get??”with just one line of code each.
Pages:
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239