2
   

reframer script does not work anymore

 
 
sculli
 
Reply Thu 26 Jun, 2003 10:07 am
Hi Folks,
ok, now I gave myself the usual testing and rethinking for my problem but since I could't come up with a solution I give you guys a try.
I have a conventional webpage at m-base.de that uses a javascript menu tree to build up a frameset.
To avoid orphane pages I constructed this script

Code:<script type="text/javascript">
if(self.parent.frames.length == 0)
{
window.location.href="index.html?'filename.html'";
}
</script>


and it works fine for example with the page technology/builder/concept.html

Now, I've copied the same layout with the same setup of frameset and menu script for another related website on
n-fibrebase.net
and the script fails to work there.

Any ideas for the javascriptly blinded?

Cheers
Sculli

*so long and thanks for all the fish*
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 2 • Views: 1,470 • Replies: 1
No top replies

 
Craven de Kere
 
  1  
Reply Thu 26 Jun, 2003 03:16 pm
Are they on different servers? When you say "fails to work" what do you mean? What happens? I suspect that the script identifies an unframed page correctly but messes up with the location part.

Note:

I have posted a functional javascript reframer code here:

reframer script
0 Replies
 
 

Related Topics

Webdevelopment and hosting - Question by harisit2005
Showing an Ico File - Discussion by Brandon9000
how to earn money in internet - Discussion by rizwanaraj
The version 10 bug. Worse then Y2K! - Discussion by Nick Ashley
CSS Border style colors - Question by meesa
There is no Wisdom in Crowds - Discussion by ebrown p
THANK YOU CRAVEN AND NICK!!! - Discussion by dagmaraka
I'm the developer - Discussion by Nick Ashley
 
  1. Forums
  2. » reframer script does not work anymore
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.5 seconds on 04/19/2024 at 02:55:34