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 1820 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


4. Highlight the code block you want to change.
5. Modify the code as desired in the Code Block area.
6. To insert a new parameter, place your cursor in the Code Block area where you want to place variable
and click Insert Parameter in Code Block.
To replace a value with a variable, select the value in the Code Block before clicking Insert
Parameter in Code Block. TIP TIP
1083
Handling Server Behaviors 34
7. Enter a unique name for the variable in the Parameter Name field of the Insert Parameter in Code
Block dialog box. Click OK when you??™re finished. The new parameter is inserted in the following
format: @@parametername@@.
8. Determine the positioning of the code by first choosing an option from the Insert Code list: Above
the tag, Below the tag, Relative to a Specific Tag, or Relative to the Selection.
9. If you??™ve chosen Insert Code: Relative to a Specific Tag, select the tag name from the Tag list that
appears.
10. From the Relative Position list, select the option best suited for the code block.
11. If you??™ve chosen Relative Position: Custom Position, enter a numeric value in the Custom Position
field.
Positioning of code blocks is very important. In particular, make sure you don??™t insert code
that depends upon a recordset above the code that creates that recordset.


Pages:
1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832