Please visit our sponsors.

Technical notes

This page contains just a couple of quick notes, take a look at the HTML Tutorials section for more information about HTML.

Trapped in frames

If you're using frames, check another time and be certain that all targets are correct. Otherwise someone could get trapped in your frames, and that's really annoying. Especially if it's an outgoing link. Make sure all outgoing links have a <target="_top">. Or use a <base target="_top"> in the HEAD of the page (this will make all links use <target="_top"> except those which already have a target.

Automatic redirection

If you want to make an automatic redirection of a visitor to another page, use this <meta> tag (see below). This is very useful if you, for example, move your pages to another address.

<HTML>
<HEAD>
</HEAD>
<BODY>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://www.newplace.com">
</BODY>
</HTML>

The number after CONTENT determines after how many seconds the new page will load.

Updating multiple frames

For example, if you've used frames on your site and have a couple of navigation buttons on the left and the main area to the right you may want to update both frames when the user clicks on just one link. You may want to add a submenu in the navigation frames or whatever it might be...

The problem is that you have to load two frames at one time. The trick to do this is that you load a single document, and that document should load both the frames you wanted to update.

If you don't want to use this method, the problem can be solved with javascript, too. But... then you must learn javascript first.

Previous Home Next

Last updated 970717