Using Menu with frames one page only
Using Menu with frames one page only
I have a client who has the menu in use on all their "normal" pages, but, now they want the menu on one page of their site to be a framed page. Is there a way to modify the code for one page only? Can I copy the JS files and put them in their own folder so it would only control this one page differently? Sorry I hate frames and this is just one more reason why. I was able to set it up in a frame on one page only with the scroll on the pull downs but it won't load other pages after the visitor views the framed page and wants to go back to the normal pages, everything pops into the navigation frame rather than loading a whole complete page unframed.
Re: Using Menu with frames one page only
Not sure if this is what you're after (I hate frames, too!), but this will make sure that frames are wiped before loading a page...
Needless to say, it goes in the <head> of the pages that you do not want frames on.
Code: Select all
<script type="text/javascript">
if (top.frames.length!=0) top.location=self.document.location;
</script>
John