Javascript
Sandvox Pro allows you to insert HTML code in a number of places:
- Raw HTML pages and pagelets
- Code Injection
- The "Edit Raw HTML" menu command.
- The "Paste HTML into Text" command
Anywhere that HTML code can be inserted a site, you can also use javascript. This can be as part or all of the code.
Note that if your scripts require any additional files or other resources to function, you will have to upload and maintain these files separately from Sandvox.
Preferences
The Sandvox Preferences allow you to specify whether to show live data feeds in pagelets. With this preference disabled, Sandvox will not load javascript while editing a site. This allows Raw HTML pagelets that use javascript to load an external resource to be skipped.
We suggest that where you do use javascript, you follow it with code like this:
<noscript> <p>Note: You do not have Javascript Enabled on this browser.</p> </noscript>
This will help remind you that Javascript is not enabled as a result of this preference. Note that the preference has no effect upon a site once it is published. All javascripts should work as normal.
