Opening and Editing .js Files

To edit the .js files that are included with the template you can use Notepad, TextEdit, SimpleText or any plain text editor.

Editing .js file variables:
Open your "sidebar.js", "header.js" or other .js file in a plain text editor like Notepad. Click on the eye below to see what code to change.

View

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 lowercase.

Editing contact info in a "sidebar.htm" or Minisite "contact.htm":
If your template includes a "sidebar.htm" or you have a Minisite template that includes a contact form (Biz and Drop Menu models), you will want to view the visual below to see how to edit the contact information in the sidebar.

View

Possible Problem:
When you double click the .js file and get some type of error or it will open in the wrong application. This means that the .js files are associated with another application. To open and edit them in Notepad or a simple text editor there are three options.

Solutions:
  1. Open Notepad, open the template directory, then drag the .js file into Notepad and drop it.
  2. Open Notepad, browse to the template directory, select "all file types" and open the .js file that way.
  3. You can change the file associations so when you double click a .js file it will open in Notepad: Open "My computer" choose "tools" or "options" then choose "folder options" choose the "file types" tab. Find "JS" on the list and change the opening application to use Notepad.exe in the Windows directory. Changing this association should cause no problems on your computer.

See also Editing .js Files in Windows



Related Topics:
Choosing Software
Editing the Menu


Allwebco Template Support


Allwebco Website Template Support


See Also...
.js File Types
.js File Variables
Editing .js Files
Add to .js Files
.js File Errors
Non-working .js File



Allwebco Web Templates
Complete websites with built in scripts.
AllwebcoDesign.com
Web Template Support
Shopping Cart Templates
Professional templates with built-in Paypal.
AllwebcoDesign.com



Website Template Support
Website Template Support