| How do I add custom HTML/javascript to my pages? |
| Article ID: 398 |
| Created On: 01 Feb 2008 |
| Author: ezweb - Frank |
To add custom HTML or javascript to your site use the Javascript/HTML widget. 1. Go to layout mode and click the new box icon then go down to widgets there you will see the Java Scrips/HTML box. 2. When you add the box a window will open with a sample Java Script "hello world" script. You can delete that and add your code. Then put the box where your want it on the page. Please note the code in this box will not work correctly in the editor. When you publish the page it will work correctly in your web browser. The editor does not run code in a Javascript/HTML box. This keeps the custom code from causing problems with the editor. To edit the code in a Javascript/HTML box just double click on the box and the code in the box will open so you can make the needed changes. |