2. Choose Modify ??? Page Properties to change the title of your action file.
3. Choose File ??? Save to save the HTML file under a new name in the Dreamweaver
9\Configuration\Behaviors\Actions folder.
4. Switch to Code view, open the Code inspector, or use your favorite text editor to work on the
code for your new action.
It??™s best to work on the parameter form??”the user interface??”in Dreamweaver??™s Design view
and, if your function code is extensive, work on your JavaScript file in Code view.
5. Insert the code to include external JavaScript in the of the document. For this example,
Massimo??™s uses a series of his own JavaScript functions??”and borrows one or two of Adobe??™s??”in
three separate files:
6. Enter a new tag pair in the
section of the document.
7. Open your original function test file.
8. Copy the function from the original file to the new behavior file. In our Set Layer Z Index example,
the function tmt_LayerIndex() is copied.
Pages:
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904