Frame B
HOW TO SET IT TO WORK on FRAMES PAGES
- warp.js must be imported to Frame A (page must contain script or link to
external file)
.....
<script Language="Javascript" SRC="warp.js"></script>
</head>
- Page in Frame A contains a link to warp :
target for this link IS SAME FRAME !!!
<a href="#null" Onclick="warp()" target="_self">Secret page</a>
- script must be modified :
instead of line : (delete it)
window.open ( newlocation, "_new",
"resizable=1,toolbar=0,location=0,menubar=0,status=0");
write new :
top.frames[1].location.href = newlocation
or use warpf.js - there is this change included
<script Language="Javascript" SRC="warpf.js"></script>
Comments :
If you have more than 2 frames, you must change [1] to [number] of your
target page.
First defined frame page is number 0, second 1, third 2, ...