All Allwebco templates use .js files. These files all contain Javascript. Most .js files are included to globally "write" items to the template pages. For example: The menu.js "writes" the menu on all template HTML pages. This is a listing of some template .js files and their functions in the template.
Notes on .js files:
Template .js files can be edited using a plain text editor like notepad. More....
All .js files should be uploaded when you upload your template to your hosting area.
.js files are usually used for global items like the footer, but can also be for specific items like a gallery menu or watermark.
Many .js files include yes/no and size options at the top of the file. These options can be edited. More....
Code for the date display or location, watermark, zoom, or a search may all be included in a .js file.
Your template may only include some of the .js files listed below.
For .js files not listed on this page, see your template "help.html" for more details.
menu.js
The template "menu.js" is for globally writing the menu on all template HTML pages. All templates include a "menu.js". The menu can be either a button, text link or drop menu. Menu colors and font sizes are edited in your template .css file. See editing menus. (Some "menu.js" files may include options at the top.)
menu_gallery.js
Menu used on gallery pages only. May be used in the slideshow page as well. See editing menus.
sidebar.js
A "sidebar.js" will usually be a global file that shows the sidebar on all HTML pages. In some cases the gallery pages may not include the sidebar. Code for a template date or search may be in this file. Some "sidebar.js" files include a pageheight option, or may include options at the top of the "sidebar.js". See editing a sidebar.js.
sidebar-left.js / sidebar-right.js
Same as indicated above but these would be for the left or right side of the template pages. See editing a sidebar.js.
header.js
The "header.js" contains the template Flash logo. You can edit this file to change the Flash size or Flash background color. In some templates the date display location code will be in this file as well as an option to display an image in the header. See editing .js file variables. (In some templates the header color may conform to the page background color. Some templates may have the header background color in the .css file.)
header_faq.js
Same function as the "header.js" but used for the F.A.Q. pages.
graphic_logo_header.js
This file is for if you do not want a Flash logo and would rather use your own graphic image in the header. See the options section on your template "help.html" to use the "graphic_logo_header.js".
phone.js / contact.js
To display contact info on the "contact.htm". In some cases this file may also display info on the "about.htm" or "services.htm". See editing .js files. (Contact information is included in a .js file so search engines will not read the information and you will get less spam.)
pop-closeup.js
This file usually contains multiple functions to, control popups, control gallery image changers, gallery or image popup tooltips, slideshow code, right click protection, video or audio popups as well as other functions. See .js file variables
search.js
Used for the template search box. See your template "help.html" for details on this file.
pageheight.js
A "pageheight.js" file is used so all your HTML pages will maintain a standard height. See your template "help.html" for details on this file. In some cases the pageheight may be included in your template sidebar.js or in your template .css file. See editing .js files.
css.js
Located in the template "css" folder. Used for quick color changes. See the options section on your template "help.html" for more details.
javascripts.js
The "javascripts.js" file is included only to block any errors that may occur on an HTML page. You can also add global scripts to this file, like for example, you could add right click protection inside this .js file and all your HTML pages would be updated. Do not add any items like a menu into this file or any "document write" type scripts in this file.
watermark.js
This file is for the watermark that is layered over the gallery and slideshow images in some templates. See the options section on your template "help.html" for more details.
zoom.js
For the gallery image zoom function (In some templates for the "color to B&W" link). In some templates you may only see the zoom when testing in the IE browser and you may not see the zoom in Firefox and Netscape. You can turn off the zoom in this file. See the options section on your template "help.html" for more details.