Hi
We are loading our site in a hidden frame (domain cloaking) but the site keeps redirecting out of the frameset to the main URL.
This behaviour is seen in both IE7 and Firefox and stops happening as soon as we comment the menu out.
Is there some "frame buster" code built into the menu code files?
Thanks in advance
Craig
Is there frame buster code built into the menu?
Hi,
There is nothing in the menu that would cause this.
Howver, the code taken from http://milonic.com does break out of frames so if you've copied the code from our home page this will be the reason.
It's better to use the code from the download as it's more generic.
There is nothing in the menu that would cause this.
Howver, the code taken from http://milonic.com does break out of frames so if you've copied the code from our home page this will be the reason.
It's better to use the code from the download as it's more generic.
If you see this:
Then there is a good chance it came from our home page. If you see the above, just delete it and all should be good again
Code: Select all
if(parent.frames.length)top.location=document.location;
Hi,
On the main site the code is
You can see the if(parent.frames etc.
Ruth
On the main site the code is
Code: Select all
<!--
Milonic DHTML Website Navigation Menu Version 5.0
Copyright 2006 (c) Milonic Solutions Limited (UK). All Rights Reserved.
Please visit http://milonic.com/ for more information.
-->
<script src="/milonic_src.js" type=text/javascript></script>
<script type="text/javascript">
if(parent.frames.length)top.location=document.location;
if(ns4)_d.write("<scr"+"ipt src=/mmenuns4.js type=text/javascript><\/scr"+"ipt>");
else _d.write("<scr"+"ipt src=/mmenudom.js type=text/javascript><\/scr"+"ipt>");
</script>
Ruth