Floating frames demonstration

This is a demonstration of floating frames on the Advanced HTML Site. To make sure that this link loads in the whole page and not in the floating frame I added the target="_top" attribute to the anchor tag. e.g.

<a href="/" target="_top">
Advanced HTML Site</a>

In order to ensure that this floating frame is not loaded directly I added this snippet of JavaScript to the <head></head> section of the HTML.

<script language="JavaScript">
<!--
if (parent.frames.length == 0) {
window.location.href="advancedhtml.htm"
}
// -->
</script>

You can email me


  The  
Advanced  HTML
Site
Privacy Policy
Advanced HTML Home
Copyright © 1997 - 2024
Hosted by IONOS