Force frameset uncertainty

J

just me

Greetings,

I have a site which, for various reasons, is built in frames.

I wish to force orphaned pages to open within the frameset and have been
trying a javascript I found -

<script>

if (parent.location.href == self.location.href){
window.location.href = 'index.html'
}

</script>

What I am missing is how to force the specific page requested into the
frameset, not the home page. This method simply takes the viewer back to the
framed index page. I know I need to reference the frames page differently so
that "specificpage.htm" appears within the frameset, but I cannot get my
tiny mind round to figuring this out.

In an FP site with banner, contents and content frames, how do I reference
the specific frames page correctly?

Thanks.
 
S

Stefan B Rusynko

You can't unless you rebuild it using dynamic framesets
See http://javascript.internet.com/navigation/dynamic-frameset.html



| Greetings,
|
| I have a site which, for various reasons, is built in frames.
|
| I wish to force orphaned pages to open within the frameset and have been
| trying a javascript I found -
|
| <script>
|
| if (parent.location.href == self.location.href){
| window.location.href = 'index.html'
| }
|
| </script>
|
| What I am missing is how to force the specific page requested into the
| frameset, not the home page. This method simply takes the viewer back to the
| framed index page. I know I need to reference the frames page differently so
| that "specificpage.htm" appears within the frameset, but I cannot get my
| tiny mind round to figuring this out.
|
| In an FP site with banner, contents and content frames, how do I reference
| the specific frames page correctly?
|
| Thanks.
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top