Adding Scripts to Website Builder
With Website Builder, you can add JavaScript and HTML code to your website.
These programming languages that lets you add features such as date and time stamps, customized cursors, button animation and more to your website.
You can add scripts from the Page Designer, or paste them directly in your content blocks
To Add Scripts
- Log in to your Website Builder account.
- From the Design menu, select Launch Page Designer.
- If necessary, from the Page list, select the page you want to edit.
- Click the block you want to edit. Blocks are outlined in yellow.
- To add script from the Page Designer, do the following:
- Position your cursor where you want to add a script.
- Go to the Insert tab, and then click Script.
- In the Enter JavaScript text box, delete the default scripting, and then enter the script you want to insert.
- Click OK.
- Alternately, click the block you want to edit, and then do the following:
- Click HTML. The Edit HTML window displays.
- Paste the script you want to insert.
- To ensure your script is formatted correctly, click Verify and Format HTML, and then click OK.
- Your script displays in the content block.
For information about inserting JavaScript in to the head section of the Web page HTML, see Setting Web Page Properties.
NOTE: JavaScript does not execute in the Editor. You must view it in Preview mode to execute your custom JavaScript.