Hi Matt,

[ www.skyynet.de ]

>>From the buglist description of the problem.. you did this:
> 
> <script>
>   document.frames.content.location = fancy_tricks();
> </script>
> 
> <frameset>
>  <frame name="content">
> </frameset>
> 
> .. and you can see why it goes wrong. When the code is executed the frame
> doesn't exist yet.

Sorry, but I can't recall that one. I wanted to access bugs.vapor.com 
but the sql database was offline. What I'm doing is:

<!-- // index.html ###

<script language="JavaScript" type="text/javascript">
<!-- // ### Load Frameset if page was directly accessed ###
var frameset_geladen = "skyynet";
function SeiteLaden() {
  if(self.location.search.length > 0) {
   var Search_Laenge = self.location.search.length;
   var main_url = self.location.search.substring(1,Search_Laenge);
   self.main.location.href = main_url; }
}
//-->
</script>


and on every content frame...

<script language="JavaScript" type="text/javascript">
<!-- // ### Load Framset if this page is directly accessed ###
var Dateien = "index.html?pagename.html";
if (top.frameset_geladen + "" != "skyynet"){
  if(document.images)
   top.location.replace(Dateien);
  else
   top.location.href = Dateien ;
  }
// Allow non-JavaScript browsers to continue -->
//-->
</script>



This is the frame reloader widely discussed in the JavaScript newsgroup 
and working in every other browser.

Ok, now we're onb topic for the bugs.vapor.com part of this browser but 
I doubt there will be any bug fixes.

Cheers...

Ingo

-- 
________________________________________________________________________

skyynet                                            [EMAIL PROTECTED]
simple solutions for a complicated world                  www.skyynet.de
________________________________________________________________________


Reply via email to