Insert Script
Inserts a script at the current cursor position in an HTML or text document.
An inserted script is indicated by a small green rectangle. If you do not see the rectangle, choose LibreOffice - PreferencesTools - Options - LibreOffice Writer/Web - View, and select the Comments check box. To edit a script, double-click the green rectangle.
If your document contains more than one script, the Edit Script dialog contains previous and next buttons to jump from script to script.
Contents
Script Type
Enter the type of script that you want to insert. The script is identified in the HTML source code by the tag <SCRIPT LANGUAGE="JavaScript">.
āļŊāˇāļ´āˇāļąāļē
Adds a link to a script file. Click the URL radio button, and then enter the link in the box. You can also click the Browse button, locate the file, and then click Insert. The linked script file is identified in the HTML source code by the following tags:
<SCRIPT LANGUAGE="JavaScript" SRC="url">
/* ignore all text here */
</SCRIPT>
āļāˇāˇāˇāļĢāļē
Locate the script file that you want to link to, and then click Insert.
āļ´āˇāˇ
Enter the script code that you want to insert.