Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:31 am EST

How to make inline links with Staic Pages

The concept is fairly simple. You need to create a Static page and copy paste the following code into it. Then, place the link you want that Static Page to load into the relevant spots - there are two links in the following code you should swap for yours. This code makes use of the iFrame feature, IE5 and NS6 both support this code.

<iframe src="http://canada411.sympatico.ca/" width=100% height=90% scroll=no marginwidth=0 marginheight=0 frameborder=0>
<br />
Looks like your browser doesn't support inline frames. Click <a href="http://canada411.sympatico.ca/" target=_blank>here</a> to view Canadian Phone Numbers in a new window.
<br />
</iframe>

Now that the Static Page is done we only need to link to it. For instance, the code above is an actual Static Page used as an example. Simply click here to see it work. The only "gotchas" in this trick is if the page you are linking to has sub-links that open new pages (ie,. _blank) or link to _top (filling the entire browser window). That means the next link may ditch your Geeklog site.

But in general this has helped me quite a bit.

Knuckles (Simon Lord)

Last Updated: Monday, July 08 2002 @ 07:45 pm EDT| Hits: 1,612 View Printable Version