MikeysTown
07-24-2003, 07:10 PM
Two Questions:
1) When Using The Frame Enforcing Javascript:
<head>
<script language="JavaScript">
if (parent.location.href == self.location.href){
window.location.href = 'INDEX.HTML'
}
</script>
</head>
Which Address Do I Put For "INDEX.HTML"? For Example:
The Javascipt Is On The Page "MAINPAGE.HTML", My Frame is "FRAME.HTML", And The Page With Both Of Them Together Is "HOMEPAGE.HTML". So, If The Javascipt Is On "MAINPAGE.HTML" What Address Do I Put For "INDEX.HTML? "FRAME.HTML" Or "HOMEPAGE.HTML"?
--- --- --- --- --- --- --- --- --- ---
2) What Is The Code For Using Cookies To Tell The Visitor The Date Of Their Last Visit To That Page? Just Like On Lissa's Forum Front!
1) When Using The Frame Enforcing Javascript:
<head>
<script language="JavaScript">
if (parent.location.href == self.location.href){
window.location.href = 'INDEX.HTML'
}
</script>
</head>
Which Address Do I Put For "INDEX.HTML"? For Example:
The Javascipt Is On The Page "MAINPAGE.HTML", My Frame is "FRAME.HTML", And The Page With Both Of Them Together Is "HOMEPAGE.HTML". So, If The Javascipt Is On "MAINPAGE.HTML" What Address Do I Put For "INDEX.HTML? "FRAME.HTML" Or "HOMEPAGE.HTML"?
--- --- --- --- --- --- --- --- --- ---
2) What Is The Code For Using Cookies To Tell The Visitor The Date Of Their Last Visit To That Page? Just Like On Lissa's Forum Front!