![Print this Page](images/printpage.gif)
All the instructions you need to use this template are on this page.
The royalty free images used in this template are wholly owned by Corrie Haffly and may only be used with this template. If you wish to license the image for other uses, please contact support@jgtemplates.comm.
The Photoshop source files and Flash files are licensed for use with this template only.
Not included: Flash source files for image rotation and image transition. They are not needed to modify the image rotation.
This template uses the SWFObject (v1.4) Flash detection and embed script provided by Geoff Stearns at http://blog.deconcept.com/swfobject/. This script detects whether or not the user has the Flash player, and if it does, it loads in the Flash movie for them to view. If they don't have the Flash player, it displays your alternate content. The alternate content is what you see in your web editor (a static image or text).
The SWFObject script also resolves the IE update issue where embedded Flash movies require an extra click for interaction; using the script will allow viewers to interact with the Flash movie directly. The SWFObject script also allows your web site to have fully validated HTML.
Please be aware that the script may be updated occasionally, and it is your responsibility to visit theSWFObject site to check for updates and implement them.
The eXPansive v2 v2 DWT package consists of:
Definition of Editable Regions for DWTs | |
doctitle | The Title of the Page - this is what appears in the uppermost left status bar of the published page. To edit this and the following two regions, right click over the body of the page and select Page Properties. Fill in your own information for the Title, Page Description, and Keywords fields. You will want to do this on each page. |
keywords | Keywords for your Page/Site; important for search engine spidering purposes. To edit, see instructions above for "doctitle." |
description | Description of your Page/Site; important for search engine spidering purposes. To edit, see instructions above for "doctitle." |
scripting | Location for any coding (asp, java script, etc.) which requires placement within the <HEAD> </HEAD> tags of the web page. |
sub_menu | Secondary Navigation |
banner* | Name of the Page Being Viewed - you may either use the "text" banner provided with FrontPage or type in the title manually. |
body1 | Main Content - in a 2 or 3 column layout, this content will appear in the widest content column. In a 1 column layout, this will appear first. |
body2 | Secondary Content - in a 3 column layout, this content will appear in the left column. In a 2 column layout, this content will appear in the smaller of the two columns. In a 1 column layout, this content will appear directly beneath the body1 editable region's content. |
body3** | Third Level Content - in a 3 column layout, this content will appear in the right column. In a 2 column layout, this content will appear directly beneath the body1 editable region's content. In a 1 column layout, this content will appear directly beneath the body2 editable region's content. |
special1 | Place for an applet or anything else |
special2 | Place for an applet or anything else |
*not on splash page
** Splash page uses body3 for search-engine-friendly text.
You may use this package in two ways: 1) to create a brand new site or 2) to convert an existing web site.
This template comes with several page layout options:
Easily change from one layout to another! This template is built to give you the flexibility of easily changing from one layout to another. That is -- you can go from a 2 column fixed width page to the 2 column resizable page. (You cannot switch from 2 columns to 3 columns.) There are three different stylesheets used. All you have to do is open up the web page that you wish to modify and look in HTML or Code view for the stylesheet code (near the top of the page, in the scripting editable area):
<style type="text/css">
<!--
@import "styles.css";
-->
</style>
Change the stylesheet URL to be:
*Note: The Flash rotator's width is fixed. If you change the home page to be the "resizable" layout, the Flash rotator will still only be the same width and you'll see the blue background expand to the right of it.
The top area, left column sky movie, left menu, "add to favorites/print page" buttons, and footer are in library items . Editing the library item will update the other pages across your web site. Open them, make your changes, and save.
The "your logo here" area is a graphic. It is a library item ("top") so you can change it easily across all the pages.
The top image buttons are in the "top" library item. You can delete the buttons you don't want, or insert your own. We've included the Photoshop file if you wish to make your own buttons.
The horizontal menu is made up of hard-coded text links in list format. The stylesheet formats the list to be horizontal.
The sky movie is a Flash movie. We have included the Flash source file, so you will need Macromedia Flash 8+ to edit the Flash animation (to change the speed, image, etc.).
If you do not want the sky movie on a page, just delete it. The static image will still be in the background.
The splash page features a Flash rotator, which features:
Our sample movie displays one custom-made sub-movie and three static images in the rotation. The three images are hyperlinked to the getting started and template pages.
What are sub-movies? Sub-movies are Flash movies (that you have to create using Macromedia Flash) that can be loaded into the Flash rotator.
How can I use the Flash rotator? The Flash rotator is flexible, allowing you to be creative! You might want to create sub-movies for announcements, featured products, upcoming events, or anything else you can think of. Or, create static images and link to other areas of your site. Churches might create images or sub-movies for upcoming events. Businesses can feature key products in the rotation. The possibilities are endless!
There is a file called variables.txt that comes with this template. Open it and you'll see a long line of code. It looks like this (line breaks and comments added here for readability):
ad1=images/mainpic1.jpg << This loads the static image.
&&adURL1=NONE << This is set to NONE, so the first
image does not get linked.
&&ad2=images/mainpic2.jpg << This loads the next image.
&&adURL2=NONE << This is set to NONE, so the second
image does not get linked.
&&ad3=images/mainpic3.jpg << This loads the last image.
&&adURL3=gettingstarted.htm << The loads the link for the last image.
&&ad4=samplemovie.swf << This loads the sample sub-movie.
&&adURL4=FALSE << This must be set to "FALSE" for
sub-movies.
&&numAds=44 << This specifies how many loaded movies
and images there are.
&& << Leave this here.
numAds can be increased to the number of images or sub-movies you want to loop through. Then, it's just a matter of adding an "ad#" and "adURL#" pair, with the new variables preceded by "&&" as shown above.
Requirements for images and Flash sub-movies:
Changing the image transition effect (Flash required):
The image transition (the "flash/fade" effect) is held within the imagemask.swf movie. You can make your own image transition to replace this.
There is alternative content for search engines and people who don't have Flash. We've simply put a line of text in the Flash areas, which you should be able to see in the web editor. Change this text or replace it with your own content. People who do have Flash will be able to see the Flash animation and will not see that content in the browser.
The vertical menu is a bulleted list of links. Simply add your own links to the bulleted list and the style sheet will format it on your actual web page! You can modify the list to have different submenus on different pages.
All the pages apart from the splash page have a special text area with the page title. This area is limited in height (100px).
The page title uses Heading 1.
Each product "block" on the catalog page is made up of code like this:
<div class="catalog">
<a href="catalog-detail.htm" onclick="pop('catalog-detail.htm');return
false;">
<img border="0" src="images/productbox.gif" width="80"
height="80"></a><br>
<b>Product Name<br>
</b>$xx.xx<br>
<a href="catalog-detail.htm" onclick="pop('catalog-detail.htm');return
false;">view details
</a>
</div>
Copy and paste this after the </div> from an existing product.
The stylesheet allows these blocks to automatically go onto another line.
The height is limited. If you want to reset the height to be taller or shorter, open the stylesheet and look for this code:
.catalog {
...
height: 150px;
...
}
Change the height value to be whatever you need it to be.
To make more of these popup links:
First make a new profile or catalog detail page. You may open an existing page (profile.htm,
catalog-detail.htm) and File > Save As a copy.
On the "about" page or the "catalog" page, link to the
profile or detail page, like this:
<a href="yourpage.htm">Text</a>
Now add this Javascript code, like this, with the same
URL:
<a href="yourpage.htm" onclick="pop('yourpage.htm');return
false">Text</a>
The 3-column template has info boxes in the right column. The HTML code for an info box looks like this:
<div class="infobox">
<h2>Title</h2>
<p>Text</p>
</div>
You can add more info boxes after the last </div> of the previous info box.
Modify the footer with your own company information and links in the "footer" library item.
This template is a table-less layout. Positioning and layout is defined through CSS. You will need to be comfortable with advanced CSS positioning and formatting techniques if you want to make changes to the layout of this site. If you just want to add your content, you will need some basic CSS skills and HTML skills.