Forcing frames

I have a website which is built on traditional HTML frames.<br />
<br />
When searching a search word which I use in meta tags, in a search engine, some of my pages comes up alright, but the pages only - without the frame construction (!)<br />
<br />
I wonder if someone out there know of any Java Script or so, which I can place in these pages, which in turn will FORCE any browser FIRST to load up the frame construction BEFORE loading up the page itself, in order to be shown correctly ?<br />
<br />
I am not very 'advanced' in this, but I find it fascinating, though.<br />
<br />
Many thanks in advance for any help!<!--content-->It cannot be done, not for more than 87% of users that's why it's important to make sure that each page can stand on its own and why so many web authors have abandoned frames. Once you page can stand on its own, use something like<br />
<br />
<script type="text/javascript"><br />
<!--<br />
if (self.location == top.location) {self.location.replace('frameset.html')}<br />
// --><br />
</script><!--content-->Where in the document shaould this be placed? Between Head and Body or inside Body?<br />
Does this script refer to all the pages that load up incorrectly which comes up when clicking a link from a search engine?<br />
<br />
Or should this script be placed also in the pages that make up the frame construction?<!--content-->Scripts should be placed inside the <head> tags, but don't have to, u can place them inside the <body> tags as well.<!--content-->Please do not cross post... This is the third thread I've come across...<br />
<br />
<!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=13416">http://forums.webdeveloper.com/showthre ... adid=13416</a><!-- m --><!--content-->Sorry, I thought the different forums consisted of different people. People with different specialities. Thats why. Again sorry.<!--content-->
 
Back
Top