SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1230 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


The server-side code varies from server model to server model but, in essence, it??™s quite similar. For example,
here??™s the code inserted when a Move To Next Record server behavior is applied:
ASP
<%=MM_moveNext%>
ColdFusion
#CurrentPage#?PageNum_rsEmployees=#Min(IncrementValue(PageNum
_rsEmployees),TotalPages_rsEmployees)##QueryString_rsEmployees#ut>
JSP
<%=MM_moveNext%>
.NET
<%# Request.ServerVariables(???SCRIPT_NAME???) %>?rs_currentPage=<%#
rs.CurrentPage + 1 %>
708
Incorporating Dynamic Data Part IV
To keep this code accessible for server-side processing??”and viable for the JavaScript function to use??”it
must be embedded in a hidden variable form element. After the code is transferred, the temporary recordset
navigation elements previously inserted can be deleted. Here??™s how to accomplish this task, step by step:
1. Select the text link that matches the recordset navigation intended for your Flash button.
You can start anywhere because you??™re eventually going to add Flash buttons for all your recordset
navigation moves.
2. From the Property inspector, select and copy the value of the href attribute, using the keyboard
shortcut Ctrl+C (Command+C) or the context menu.
3. Position your cursor anywhere in the form, and choose Insert ??? Form ??? Hidden Field or click
the Hidden Field icon in the Forms category of the Insert bar.


Pages:
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242