Editing .js File Variables

Editing Javascript .js files in Allwebco templates

Pinned Note .js Variables
Some Allwebco templates include variables at the top of the .js files (header.js, menu.js, footer.js). Optionally edit these variables to configure your webpages. Options may include: header links, popup/no-popup image viewers and more. Edit .js files in a plain text editor like Notepad.

See Also…

Editing .js variables
.js files are plain text and can be edited using Notepad, TextEdit, or any plain text editor. Some HTML editing software can also edit .js files. You should make a backup of the first .js file you edit and test your editor with a save to see that it will work with .js files.

Applicable templates
The variable code can be found in most but not all Allwebco templates. You will find variable code inside the .js files. Variables are always near the top of the file.

Editing the variables
Open your "header.js", "footer.js", "sidebar.js" or other .js file in a plain text editor like Notepad or TextEdit. Click visual below to see the code to edit.

JS File Variables

Note: You may want to make a backup copy of the .js files before you start editing. In all .js files the yes/no options should be all lower case.

Related Topics:
Opening and editing .js files
Setting up the watermark