On 2/26/03 12:08 PM, Andrew, for whom Jesus died for the complete forgiveness of all sins, wrote from [EMAIL PROTECTED] saying:
>> That works pretty well, but when it reloads, it loads the default content >> page instead of the page I wanted it to load. >> >> http://www.stpaulslcms.com/sermon.html >> >> I want it to load sermon.html in the "content" frame of index.htm. > > Check that sermon.html has this javascript... > > <script language="JavaScript"> > <!-- > if (top.location.href == location.href) { > // deze pagina opnieuw openen, maar dan binnen frameset > top.location.href = 'index2.php3?sermon.html'; > } > //--> > </script> > > ...in the head. >From the head: <HTML> <HEAD> <TITLE>Sermon</TITLE> <script language="JavaScript"><!-- if (top.location.href == location.href) { // deze pagina opnieuw openen, maar dan binnen frameset top.location.href = 'index.html?sermon.html'; } //--></script> </HEAD> And in index.html: <script language="JavaScript"><!-- function fnCheckFrame() { var strFramePage = unescape(window.location.search); strFramePage = strFramePage.substring(1,strFramePage.length); if (strFramePage != '') content.location.href = strFramePage; } //--></script> </HEAD> <FRAMESET ROWS="120,93%" FRAMEBORDER=0 onload="fnCheckFrame()"> <FRAME SRC="title.htm" NAME=title NORESIZE MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0> <FRAMESET COLS="200,46%" FRAMEBORDER=0> <FRAME SRC="navigation.htm" NAME=navigation NORESIZE MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0> <FRAME SRC="content.htm" NAME=content MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0> </FRAMESET> </FRAMESET> What did I do wrong? -- | Bought with a Price, -+- Dale | Mac & Palm Stuff & a cure for death: http://www.InfinityLtd.org |4U Jesus took your place so you could go to His place. -- Mac Webmasters is sponsored by <http://lowendmac.com/> and... Small Dog Electronics has Lasso, Filemaker, and FileMaker Server on Sale! High Technology for low prices. http://www.smalldog.com Support Low End Mac <http://lowendmac.com/lists/support.html> Mac Webmasters info: <http://lowendmac.com/lists/macweb.shtml> --> AOL users, remove "mailto:" Send list messages to: <mailto:[EMAIL PROTECTED]> To unsubscribe, email: <mailto:[EMAIL PROTECTED]> For digest mode, email: <mailto:[EMAIL PROTECTED]> Subscription questions: <mailto:[EMAIL PROTECTED]> List archive: <http://www.mail-archive.com/mac.webmasters%40mail.maclaunch.com/> Using a Mac? Free email & more at Applelinks! http://www.applelinks.com
