I got this javascript code from the HTML Goodies website that lets my frame elements redirect to their frame managers if they are viewed outside of the manager.
[QUOTE]
<SCRIPT LANGUAGE=”javascript”>
if (self==parent)
{
document.write(‘Sorry, this page is just one frame element.’)
document.write(‘You will now be redirected to the frame manager’)
document.write(‘<META HTTP-EQUIV=”refresh” CONTENT=”5; URL=marquette.htm”>’)
}
</SCRIPT>
However, I also use php server side includes (SSI) to create a printable version out of these frame elements. Only, the javascript doesn’t allow me to put the frame elements into one page.
[I]How can I fix it?
I guess this is best explained by looking at an example of my site:
Intended result (but without the necessary javascript):
[url]http://www.pmhauer.com/affiliation.php
What’s going on now:
[url]http://www.pmhauer.com/community.php
Thanks for any help or suggestions.