|
Complete Computer Services We accept: Paypal, U.S. & Canadian money orders, U.S. checks Shipping shown is the maximum you pay PER ORDER, not per item. Discounts are applied after we receive your order.
The more you order, the LESS shipping you pay. |
Today's bargains! Brand new Dell 19" flat screen LCD monitor $150 ($50 less than the Dell price!) Click here |
Introducing CCS:
Home - This is Your site
CCS Since 1983
Customer service
Customer Testimonials
Sales terms and conditions
How To Order
Orders and inquiries
Outside U.S. & Canada
FREE bonuses
Our Privacy Policy
Product Links:
Free bonuses
Put your business on the web
View Product Categories
View Entire Online Catalog
New items on special
Videos - sale or trade
Digital media, Batteries, Chargers
Epson/Canon ink cartridges
Hands Free Cellphone adaptor - $1
DVD Rewinder
FREE Software
Freebies, info and games:
Visit our other site for stories, jokes & creative expression
Exchange links with us. Email
Change the background of this page
enter promo code p07495 (that's zero not o)
for the 4.95 limited plan or p07895 for the 8.95 unlimited plan
Unlimited phone calls for $8.95 a month!
E-onlinedata Merchant accounts
Merchant Accounts: Important Info
What's in your drinking water?
Free program cleans your monitor
100 Cool Tools for Web sites
Encrypt Your Email ID
Burn DVDs to CDRs
Post Office in your home
The Ultimate Business
Auction Guide
Payment service ratings
your own domain & web site: $6/month
Quick Guide: Troubleshooting A PC
Sites with Great Customer Service
Don't Get Scammed - Warnings
Beyond HTML - Server Side Includes
What is ASP?
Digital camera resolution explained
Photos at Different Resolutions
Choosing A Digital Camera
Using A Digital Camera
Digital Camera Reviews
Articles, Fiction, Jokes
Humor, Games, Other Interesting Sites
Food For Thought
Beyond HTML
Server Side Includes
by Yisroel Goodman
This article assumes that you have already mastered basic HTML. If not, go back and click the link for the excellent and free HTML lessons available.
A typical web site grows. It starts off with one or two pages, then expands as more content is added. Eventually there are many pages. Then the webmaster is faced with at several problems. First is navigation. How do you control the flow from page to page so that visitors can easily find what they are looking for and also easily find their way back? Second is the consistency of the look and feel. You want every page to be similar. You don't want visitors to get the feeling that the site was thrown together by a number of different people who didn't talk to each other. Third is a method of keeping the information up to date. Suppose you put your email ID on every page and then it changes. Suppose you put on every page that you accept a certain form of payment and then decide that you don't any longer. Do you really want to go through every page looking for the information and changing it? You want some method that allows you to enter standard information once and have it appear on every page.
There are different methods for accomplishing this. One method uses frames. What this means is that the first page of the site is actually a frame which contains two other pages. One page is usually a thin column running down the left containing a menu, and the second is the rest of the page extending to the right. Each frame gets a name which is then used as the target. Just for a quick review, you can specify a target when opening a new HTML page. If your URL has no target, the page replaces the one already open. If there is a target, it replaces the page with that name. If the page hasn't been loaded, it loads a new page. For example:
<a href=pageone.html>Page One</a> - this would replace the page already loaded
<a href=pageone.html target="new">Page One</a> - this would either load a brand new page, leaving the existing one still open or (if the page called "new" had already been opened previously) will replace the contents of the existing page called "new."
Suppose the webmaster names the left frame "menu" and the right frame "content." When the user clicks on a link in the menu on the left, the code would load the page in the area on the right. The HTML would look like:
<a href=pageone.html target="content">Page One</a>
Now each time an item in the menu is chosen, the column on the right changes, but the menu to the left remains in place. This makes navigation very easy. You can put your standard information in the menu frame and it now appears on every page. However, you still only have to change it once if a correction is needed.
But not all browsers support frames. True, most people are using the latest browsers. But when I first created my web site and used frames, I received quite a few emails from folks who couldn't navigate it. So why develop a site that from the outset is locking out a number of users? There is a better way and it is called Server Side Includes.