JavaScript Source Code 3000: Page Details: Load in Frames
Load in Frames
When other sites link directly to a page of your frames site that should be viewed inside your frames, you can foil them with this script. It will reload that page inside your frames!
[ The page should have loaded by itself, noticed it was not in frames, then loaded the page again in a frameset ]
JavaScript Source Code 3000: Page Details: Load in Frames
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
<!-- TWO STEPS TO INSTALL LOAD IN FRAMES:
1. Copy the coding into the HEAD of your HTML document
2. Change the location to the address of your frameset page -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<! >
<! >
<!-- Begin
if (window == top) top.location.href = "load-in-frames-frameset.html";
// End -->
</script>
</HEAD>
<!-- Script Size: 0.57 KB -->