Still need help...
[ Follow Ups ] [ Post Followup ] [ Intranet eXchange ] [ IDM Home ]
Posted by Morgan on July 19, 1999 at 12:38:11:
In Reply to: Re: Load Page Into Frame From Non-Frames Page (JavaScript) posted by cory harrison on July 16, 1999 at 13:42:15:
I'm still looking for some help with this, but I have some new code I found on an earlier posting on the same subject. My new code: In splash page: <a href="frame.htm?goto=category/index.htm" . . . > In frames page: <script language="text/javascript"> var contentpage = "about:blank"; var index = document.URL.lastIndexOf("="); if (index != -1) contentpage= document.URL.substring(index+1); </script> // Nothing changed in this script but the "about:blank"; . . . <frame name="body_frame" marginwidth="0" marginheight="0" scrolling="auto" src="javascript:top.body_frame.src=contentpage;"> Where IE gives me an error is with the variable 'contentpage'. It doesn't recognize it from the <script> header. Thanks for any help. - Morgan
Follow Ups:
|