Bookmark (in the rest of
this document, bookmark has this meaning)
When you have a nice page on the screen perhaps
you want to add a bookmark! If you later return to this bookmarked page,
you EXPECT to get EXACTLY the page you were looking at when you added the
bookmark.
Links (in the rest of this
document, link has this meaning)
The visitors of your pages may have pages of
their own. Some of your pages are perhaps so nice that someone wants to
create a link to one of them. To create this link, the visitor will take
the address that is shown in the browser! And once again it is EXPECTED
that this address leads to EXACTLY the page the visitor was looking at
when he/she grabbed the address!
Bad frames (lazy man's work and in many cases:
THEFT) (have you checked the
example?)
Unfortunately, bad frames are very common these
days. They are recognized by observing the address to the current page:
with bad frames, it does not change when you get a new page on your screen.
You can surf through 20 pages and still have the same address and title
shown...
This is done by letting the current page change
itself when the visitor want to see another page. This makes it easy for
the creator of the pages because he/she doesn't have to create so many
whole pages, instead it's enough with smaller subpages (without the menu).
Or even worse: perhaps he/she doesn't create any pages of his/her own at
all, instead letting the good creation of other people pop up in the frames.
This is a pity laziness that causes problems
for every visitor of the page! (THE PAGE! It can never be called
pages when there's only one address!)
In the last case, when other peoples pages are
being included as part of the creators page, it's in my eyes nothing else
than THEFT!! These pages, that by their real creator were meant to be viewed
as whole separate pages with their own addresses and titles, are dragged
in to this awful creation and seems to be created by some one else. THEFT!!!
GOOD frames (have you checked
the example?)
In the case of good frames, the visitor never
notices any difference to a frame free page. He/She will of course notice
the advantage when the page is scrolled and still the menu is not moving.
Looks nice... But nothing else will differ...
The address and title is changed for every new
page!
How are BAD frames created? (more
detailed description)
Only ONE document with the FRAMESET description
is created. This document describes which documents the visible page should
be built up with. Each part will be shown in its own subwindow called frame
(Part of the whole page that the visitor will see). If you click on a link,
the new document will be shown in the same frame as the document containing
the link. In the case of a menu frame this is very bad, because the menu
would then be replaced with the new document and the old document would
remain in its frame. The solution is to give the frame that is not containing
the menu, a name! And in the links in the menu instruct the browser to
show the linked document in this named frame instead of the current one!
Now the visitor can get the first page and then get the links therein popped
up in the named frame. The address and title will never change, when in
fact the visitor will remain in the same main document the whole time!
If the address shown is selected, the default pages described in the
FRAMESET document will be shown!
How are GOOD frames created? (more
detailed description)
First the fact that one HTML file must be created
for every page must be accepted. If the pages should be built up with frames
it will be necessary to create one FRAMESET document for each page. The
FRAMESET document will contain the TITLE and perhaps META tags and other
description for the page.
The next thing is to prevent the linked pages
from showing up in a frame. They should of course always be treated as
new independent pages. This is done with the tag: <BASE TARGET="_top">.
This tag should be put before the BODY line in the HTML files. It's however
not necessary in the document containing the FRAMESET description, but
in all the other ones!
Except the fact that inclusion of pages done by others is THEFT, it's
also bad if you consider that the pages you include from outside, perhaps
don't contain this tag (<BASE TARGET="_top">). And even if it's there,
you can't be sure that it will remain there! The result will be that links
on such pages will show up in the current frame and lots of unpredictable
things can happen.
My pages
Click around in my pages
and see how the address and title change for every new page. In general
you should not be able to spot any differences but instead notice the good
thing when scrolling a page and the menu remains where it is!
If you look at the HTML code however I'm ashamed!
I have created most of the pages (main part of every page) with a common
HTML editor and one thing with (all?) HTML editors is that they nearly
create the most awful code that is possible! I'm thinking about how I can
solve this!
Best viewed with any browser
For companies and private persons that really
wants EVERY one to be able to see the created pages, some extra precautions
must be taken! Alternative pages must be created so also the persons with
browser's that can't handle frames can visit the pages.
A campaign that is describing this exists and
is named: Best
viewed with any browser. It's a must for every HTML creator to visit
this page!! Lots of things you normally don't think about!
Best solution is often to totally skip frames
It will be more work to have frames (bad or good) so I think you should
consider first if you really want them. The best pages in the world is
most often without frames.
I like the stationary menu when scrolling pages however, so I have
frame versions of my pages!
Bad frames to any use?
I can think of the case where you ask a question
and show the answer on another page. If the document with the answer is
written by yourself and doesn't contain anything other than the answer,
it could be fun to let that document pop up in the current frame! The fun
thing would be that a visitor couldn't create a bookmark to the answer!
Only the question would have an address of its own...
Another case that is much more doubtful would
be if you have a page with sub headers that is marked with TARGET's. You
could let it be possible to go to the sub headers directly from the top
of the document. It would then be a faster way of scrolling the page. But
if someone put a bookmark to that page it will always pop up showing the
top of the document, but that could be acceptable I think?