Hello all,
Using a function within a frameset environment that will prevent a user from direct typing a URL and have that page appear outside our frameset….
function pgLoaded() {
if(self.location==top.location) {
self.location=”
One of our pages requires a popup window to display our managment biography HTML pages (the last 3 letters of each filename is *bio.html), but when this popup window is activated, the redirect script brings the user back to “mainpage.html”
Is there a way to write an exception so the redirect will not effect these biography popups?? I tried some combinations of
if(self.loaction=’biography/*.bio.html)…
On our biography.html page, our code is as follows:
<a href=”mgt1.html” target=”popup” onClick=”biopopup(‘mgt1.html’, ‘popup’, 700, 300); return false;”>View Bio for Team 1</a>
Thanks for advice.