Website Template .js Files

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, TextEdit or a simple text editor there are three options.

Solutions:
  1. Open Notepad or TextEdit, open the template folder, then drag the .js file into Notepad or TextEdit and drop it.
  2. Open Notepad or TextEdit, select "file" then "open", browse to the template folder, select "all file types" and open the .js file that way.
  3. Windows Only 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 folder. Changing this association should cause no problems on your computer.
  4. Mac Only You will change the application in which a .js document opens. In Finder, select the .js file, like "menu.js", the choose "File" > "Get Info". In the Info window, click the disclosure triangle next to "Open With", and select the TextEdit application to open the document from the "Open With" pop-up menu. If you want all .js documents to open with the same application, click "Change All".

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
Website Templates
Shopping Cart Templates
Professional templates with built-in Paypal.
AllwebcoDesign.com
Web Template Support
Business Web Templates
Professional business website templates.
AllwebcoDesign.com



Website Template Support
Website Template Support