HowTo: Create simple effective web pages for a business
Novell Cool Solutions: Feature
Digg This -
Posted: 4 May 2005
|Learning to use Linux at Home and Work
Welcome to my ongoing series of HowTo articles designed to help Linux newbies get comfortable with Linux. Before trying any of these HowTos, take a few minutes to study the prerequisites so you can hit the ground running.
This How To uses Mozilla Composer with a bit of HTML editing to create a set of three simple but effective web pages for promoting a business. If you like NVU you can use that instead. It doesn't publish the site. We might address that in a later How To.
First create a folder in your home directory to store all the pages. Mine is /home/stomfi/RSITE. Create a sub folder named "images" to store all the images.
I have used background images for each page to add interest for the viewer. The first page has the most interesting background, and tell the viewer what the business does. It includes two images which are links to the other two pages. One of them is animated as the content of the link is a page where simple gif animations of manufacturing processes can be viewed.
The other page is an inquiries page giving the email address and postal address of the company.
Each of the two link pages contains a link back to the home page.
The beauty of using simple gifs for the animation page is that they are easily created by the average newbie, using a tool like the Gimp and a digital camera that takes short video clips. Because of this simplicity they can be changed every 1 to 3 months, to generate interest in the site.
Some Java Script is included on this page so that images are cached to speed up the viewing experience.
Here are two pictures of my folders, with dummy gif files. You'll have to visit the site to see the real thing.
Here is the Home page as I created it in Mozilla Composer.
Select all your pictures and backgrounds you are going to use and save a copy in the "images" sub folder. It you use a tile background it will load much quicker. Setting the background is done via the Format menu in the menu bar. Click on Page Colors and Background.
Here is the dialog window. Because my background is so dark the text disappears as you can see in the next dialog.
Click on the "Use custom colors" radio button and customise them to suit like this.
I used the text size controls, the alignment and the bold feature to make the information noticeable, but importantly, I have only used a single font. Using too many fonts, confuses the brain.
The two images which link to the other pages are down the page where the eye will naturally go. Each one has an explanatory text.
This is the dialog window for inserting graphics:
Because I want the images to be relative to the site folder I delete the first part of the path.
Insert a tool tip if you need one, and an Alternative text. This is in case the path to the image gets broken.
The final job is to join the link.
This is done for each of the two images on the Home page. The other link is joined to the page called "enquiries.html".
This is the page:
In this case the link is joined to the rsite.html page.
This is the Animates.html page:
Each one of these pictures is a static image, with the tool tip "Click to Animate" and an Alternative name about the animation it activates. The static image is one of the animation images.
All the work is done by Java script functions. Clicking the <HTML> Source tab at the bottom of the Composer window, allow you to edit the source.
Here is the modified source to allow the animations to start and stop:
The part that starts <script and ends /script> describes a function that will load all the images into holding names in the browser cache, where they can be quickly displayed.
In the body section the function is called with the onLoad command.
Each image after the <img tag the onmouseout and onclick functions are given document actions that will load either a static or animation gif image and the image is given a name like "click1" which is also the second part of the action.
This is all there is to this simple web site. Use these simple rules to create your own site.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com