hierarchical menus vs. framejammer

wxdqz

New Member
hello!

i have a site with 3 frames - to make the navigation
easier i changed it and use now the hierarchical menus
(as shown here: <!-- m --><a class="postlink" href="http://www.webreference.com/dhtml/column21/index.html">http://www.webreference.com/dhtml/column21/index.html</a><!-- m --> )

it worked great, only the framejammer (to reload the
whole framset when a single webpage is linked form
elsewhere) i have now doesn't work anymore!

when i deactivate the hierarchical menus the framejammer
works. so those two seem to have a problem with each
other!any idea how i could make them work together?

here you see the script for the jammer. if you need more
information about the hierarchical menus please tell me!

frameset:
<script>
// frameJammer_hp v2.5
if (self != top) // frame buster
{
top.location.replace(self.location);
}

function frameJammer_hp()
{
var framedPage = location.search;

if (framedPage.length > 1)
{
framedPage = framedPage.substring(1);
var theSplit = framedPage.lastIndexOf('~');
var thePage = framedPage.substring(0,theSplit);
var theFrame = framedPage.substring(theSplit+1);
eval("top."+theFrame+".location.replace('"+thePage+"')");
}
}

// frameJammer_hp End
</script>

every webpage of the site:
<script>
var sUrl = "../frameset.htm?";
sUrl += document.location;
sUrl += "~Mitte";

if (window.name!='Mitte' && window.name!='booker_'
&& !((self.innerHeight == 0) && (self.innerWidth == 0)))
{
top.location.replace(sUrl);
}

</script>

thanks for your help, birgit
 
Back
Top