Hi David and everyone else.
Trying to wrap the frames around an orphan page.
David-good suggestion but that code causes an error-object null or not an
object.
Maybe you or someone else has another suggestion? Here's the code:
CONTENT PAGE CODE:
if (parent.location.href == self.location.href)
window.location.href = 'index.htm?main';
where index is the frameset name and main is the Frame name to contain this
content page.
FRAMESET PAGE CODE:
<script language="JavaScript"><!--
var correct_frame = true;
document.write('<frameset rows="*" cols="156,*" frameborder="NO" border="0"
framespacing="0">');
document.write('<frame src="Left.htm" name="left" scrolling="NO" noresize
title="left">');
document.write('<frameset rows="159,*" cols="*" framespacing="0"
frameborder="NO" border="0">');
document.write('<frame src="Top.htm" name="top" scrolling="NO" noresize
title="top">');
document.write(
'<frame src="' +
(location.search ? location.search.substring(1):"home") +
'.htm" name="main">'
);
document.write('<\/frameset>');
document.write('<\/frameset>');
//--></script>
Thanks,
Kathy____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
