Adding Scripts and HTML in Website Builder v6
NOTE: This article is for Website Builder version 6. Your version displays at the top of the screen when you log in to your Website Builder account. Using version 7? See the General Settings section of Using Website Settings in Website Builder v7 for information on adding HTML and JavaScript.
With Website Builder, you can add JavaScript and HTML code to your website to display custom page elements, such as third-party apps.
To Add Scripts
- Log in to your Website Builder account.
- Click Design Your Pages.
- If necessary, from the Page menu, select the page you want to modify.
- Click Popular, and then drag and drop the Script icon over a Drop Zone. Drop Zones display on your Web pages when you hover over them.
- In the Enter JavaScript text box, delete the default scripting, and then enter your script.
- Click OK.
For information about inserting JavaScript in Web page headers, see Setting Page Properties in Website Builder v6.
NOTE: JavaScript does not execute in the Page Designer. You must use Preview mode to execute it.
To Add HTML
- Log in to your Website Builder account.
- Click Design Your Pages.
- If necessary, from the Page menu, select the page that you want to modify.
- Click the content block you want to edit, and then click the icon.
- Enter the HTML code you want to use.
- To ensure your HTML is formatted correctly, click Verify and Update HTML, and then click OK.
To see your changes online, you must publish your website.