Latest posts by techwriter (see all)
- Test Your Knowledge of 4 Basic Fonts – Drag & Drop - January 27, 2017
- How NOT to Design a Web Site - January 25, 2017
- Hazards of Poorly Written Technical Documentation - December 26, 2016
By Rick Kirkham
Frames are used in website design as menus, to hold outside information inside your web site, consistency and for affiliate marketing. Here’s how to make a frame for your webpage….
What is a Frame?
A frame is a means of putting information from one web page in one or more other web pages. The advantage of this is when you change the primary web page, you change the framed information in all the other web pages using the primary web page for content.
Cautions When Using a Frame
If you’re getting the content from outside of your website make sure it’s not misconstrued as being your own information. This can be done using the title tag.
You can have as many frames loading as you like especially if you use iframes (a topic we will not discuss in this article) BUT, each frame requires a different page to load. Therefore loading more than two pages could increase load time by so much your visitor decides to go visit your competitor one click away instead.
Why Do I Need Frames?
Single page web sites probably do not need to use a frame unless you’re getting your content from outside your website. Multiple web pages may use frames for several reasons:
Menus: A single menu and an entire website can be controlled with two frames. One along the side usually of the web page and a larger one to show the content of the menu selection. Again content outside of your own website can be shown in this manner.
Visitor Stickiness: If you have ever changing content in a forum, ezine or blog outside of your web site where do you want your visitors to remember to go? Your website or the source website? Using a frame is a low tech way of having growing fresh content on your website. Just so you know, search engines do not look at this fresh content as being on your website, but when used properly frames do not hurt your search engine rankings either. In fact, as an affiliate marketer, I’ve gotten my framed page higher than the product owner’s page in the search engines.
Affiliate Marketing: If an affiliate management company allows it, frames can be used to drop the visitor’s cookie to his/her computer to ensure you get paid for the sale for which you worked to get the prospect to visit your affiliate web page. In most cases this can even be done with a
Okay, I Can See Where Frames Have Use. How Do I Make a Frame for My Web Page?
For the purposes of this article, we will use ( instead of <. If we do not this web page might think I’m trying to make a frame. Place your frame code just above a tag in your web page (otherwise know as html) code that looks like this
By placing it just above you don’t lose your title, description and keyword tags you need for the search engines.
This is the code used to make a menu on the left and dump the contents in the main body of the frame on the right. Don’t worry, we’ll go over this step by step.
(frameset cols=”200,*”) (frame src=”MenuPage” application=”yes”) (frame src=”body” name=”main” id=”main” application=”yes”) (/frameset) (noframes)Text for guests and for search engines(/noframes)(/head) (body)
Let’s Break The Frame Code Down
Sets the sizes of the two frames. The * means use the rest of the space of in the web page.
(frame src=”MenuPage” application=”yes”)
Place the file name and if you need to path of the we page which contains the menu. Application yes is used for a menu system I use a lot called an hta. You don’t really need it for a web page but it doesn’t hurt to have it in there and will help if you ever convert your framed page to an hta
(frame src=”body” name=”main” id=”main” application=”yes”)
This is where whatever link your prospect clicks on goes. You’ll need to add target=”main” at the end of your url code. You can name that anything you like as long as the frame id and target are the same.
(/frameset) (noframes)Text for guests and for search engines(/noframes)
As described above this is what the search engines will actually see or any guests visiting that are using browser 1.0 from the 1980’s that doesn’t support a frame.
Is simply the beginning the the text that people would see in a nonframed page.
Frames have a place in your repertoire of tools for html web page building. Like any other tool it has the potential to be under used or over used.
Dual certified teacher, self-defense instructor and 30 years sales veteran Sensei J. Richard Kirkham B.Sc., has finally released Affiliate Page and Index Maker http://newbieservices.com/InternetSoftware/AffiliateIndexMaker.html?mfaeza. Which makes a special frame to give affiliates credit for sales, captures emails to build your email list and more!
A free frame maker, which makes single frames and redirects is available to all free forum members http://newbieservices.com/InternetSoftware/FrameMaker.htm?ezaeza.