Home     Contact Us     Testimonials     Prices     Affiliate & Reseller Info     Merchant Services     Web Tools     Web Design     Site Map
This Special 50% Discount on web hosting is for LIFE!

Sign up NOW and "lock in" your 'Special' 50% Discount web hosting rate for the rest of your life.
24 x 7  Tech Support
Every day of the year, even including Christmas day, our friendly tech support staff will be there for you Toll Free.

They will walk you through whatever you need to do.
ONLY $9.95 / month
Our most Popular hosting plan is Gold Unix at $9.95

-

500 MB Disk Space

-

5000 MB Bandwidth

-

Unlimited POP3 Accounts

-

50 Ready to Run Scripts and Programs installed

-

Free Site Search Engine Submission - $50 value

-

Free Merchant Account

-

Free Automatic Web Site Builder and Web Design Software

-

Everything listed below
& many more Features

Cutting Edge Service and Technology
We include Every hosting "Bell and Whistle"  that state of the art technology can provide.

Plus we give you all of this:

-

Free "How To" tutorials to get traffic to your web site

-

$2000 worth of Free stuff to get you started in the "client only" area

-

Free ROI Tracker System to track where your orders came from

-

Exclusive Monster Control Panel to instantly setup everything you need

-

Free Web Site Building Tools & Software

-

Free Affiliate Program

-

Free Turn-Key Reseller web site

-

Free Reseller Program with totally anonymous tech support for all your clients

-

And Much more...

 

 

How to Use Frames

 

  Do you need Frames? If you need to anchor certain areas of your screen in place while you scroll through another area, then you'll need frames. Another use for frames would be to load a web page into a specific area without affecting the rest of the screen.

  Also, if you want to have the same menu on the left or right side of the screen that can be changed by simply editing one file, instead of editing every file on your web site, you will need frames.

  If possible, it is highly recommended that you do NOT use a scroll bar down the middle of your web page. This doesn't look very good.

  Our old web site would be a good example of how to use frames, please scroll down the body of the page and see how the menu buttons and header never move. Any time the menu needed to be changed, we could just edit one menu page to update the whole site. Click here for example frame page.

 

Here's how to do it

 

  A frame is an area of the screen which will load an individual web page. This web page will NOT cover the entire screen, it will only fill the defined area. We'll use our old web site page as an example. See the illustration below:

  Frame 1 is the Menu Bar at the left which never moves. Frame 2 is the Header Bar at the top of the screen which also never moves, but can change whenever you go to another area at your web site. Frame 3 is the body with all the text for your web pages.

  Now, how do we do this? Actually it's very simple. Just copy the code below and save it as 'start.htm'. What this code does is divide your screen into 2 parts.

  Frame 1 will be in part 1 and the other half of the screen will be parts 2 and 3. 'Menu.htm' is the web page which will load into part 1 (your menu). 'Main.htm' is the file which will load into the other side of the screen.  'Col=150' defines the amount of pixels for the width of frame 1 (the menu width).

Note: The same thing could be done to divide the screen into top and bottom halves by replacing 'cols' with 'rows' in the below example code.

<html>  
<frameset frameborder=no framespacing=0 border=0 cols="150, *">  
<frame src="menu.htm" name=menu scrolling=no>  
<frame src="main.htm" name=main>  
</frameset>
</html>

   Now, copy the below text into a file called 'main.htm'. What this does is divide the right hand part of the screen into two more frames, part 2 and part 3. So now you have a three part screen. The first part (on the left) loads the web page named 'menu.htm', the top right loads 'header_main.htm' and the bottom right loads 'body_main.htm'.

<html>  
<frameset frameborder=no framespacing=0 border=0 rows="55, *">  
<frame src="header_main.htm" name=header scrolling=no>
<frame src="body_main.htm" name=body>  
</frameset>  
</html>

  When you double click on 'start.htm' to run it, it will load the menu.htm into the left side of the screen, 'header_main.htm' into the top right part, and 'body_main' into the right side of the screen.

Now just create a web page with your menu buttons and save it as 'menu.htm'.

Create another web page with your header graphics and/or text and save it as 'header_main.htm'.

Last, create the text for the body of your web page and save it as 'body_main'. These three files will load together to create the whole web page.

Using the Target Name

   Now I know this may be a bit confusing, but we're almost done. There's one other thing to note here: in both examples above, there is a variable called 'name' (i.e. Name=menu, main, header, body). There is a very good reason for this.

  When you create a hypertext link, instead of selecting the default of 'target=_self' (current frame) or 'target=_top' (for a new window), you can select 'target=name' and just load the part of the web page that needs to be changed.

  In other words, to load a new menu 'target=menu'. To load a new page of text 'target=body'. To load a new header 'target=header'. To load a new header and body 'target=main' where main is another file just like 'menu.htm', but with a different file name and it will load different web pages - this will load both a new header and body web page.

Search Engine Compatibility

  Frames have a problem with search engines. The search engine will index the text part of your site and ignore the menu button graphics. What happens is that the search engine will link to the body part of your web page so that when people visit your web site, they will just see the body and no menu buttons.

  There is a work-around for this, just copy and paste the following JavaScript code into the header part of your body pages and it will force the surrounding frames to load around it so that the page will be displayed properly. This should go between the '<header>' and '</header>' tags at the top of the web page for the body.

<script type="text/javascript" language="JavaScript">
<!--if (window.top==self)
top.location.href = 'frame_name.htm';
//--></script>

Note: Edit 'frame_name.htm' to be the name of the startup frame file for that web page. In our example above, this would be 'start.htm'. This short script will check to make sure that the surrounding frames are loaded and if not, it will force them to load.

Congratulations...
You are now a Master of Frames!

Article by Don Itjen
at 6star.net

 

 

 

If for any reason you are not Totally Satisfied with our web hosting service, we will cheerfully refund your web hosting fee with absolutely NO hassles at all.
Page Overview
How to Use Frames
- Do you need Frames?
- Example Frame Page
- How To Do It
- Step by Step 'How-To' Walk-through
- Copy and Paste Code
- Using the Target Name
- Frames & Search Engines
Related Links
- General Tips & Tricks
- Web Site Building Tips
- Web Site Building Tools
- Promote Your Site

 

Reseller Login Client Login Affiliate Login Sign Up NOW!