Adding an ActionScript to HomeSite
The steps in this TechNote show how to add an ActionScript to HomeSite or ColdFusion Studio.
- Save the .js file.
Save the *.js file in your HomeSite UserData folder. The location of this folder varies by version. For HomeSite+, the default location is C:\Program Files\Macromedia\HomeSite+\UserData. - Next, create a button to activate the JavaScript. In HomeSite, select the Script Tab on the upper tool bar.
Note: The Script tab is hidden by default. To add it to the toolbar, right-click within the toolbar and choose the Script menu item. - Right-click on the Script tab and selectCustomize, then press the Add Custom Button option
. - Select the radio button Execute an ActiveScript file
- Browse to where the .js file from step 1 is located. Give the button a name and then name the mouse over caption
- Select OK, then Close.
The ActiveScript button will now appear on the Script Tab.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
