Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: open
I can use links from the navbar frame to open new pages in the window frame ok.
The problem is that I want all the pages that appear in the window frame indexed by the search engine robots when they come a calling but when someone clicks on a link to come to a window page I want it loaded in its window frame with top and navbar frames in place.
I have tried
if (window == top) top.location.href ="index.htm";
but this has no effect. The frameset info is contained in index.htm
This script was written for a 2-frame frameset, but it's simple to adapt to your situation - just change the document.write line to write out your frameset configuration. Nothing else needs to be changed.
The advantage this script has over sullen's solution
(which also works) is that your visitors from the search
engines can get your frameset with the particular page
they clicked on already loaded -- instead of the "default"
configuration of index.html.