Am sorry, am braindead newbie! ? And I need help!
My site does not currently have frames, though I want to use frames. OK, no problem there, I can create framesets, thats easy.
The problem is this.
I give out a url to a specific page, say;
[url]www.mywebsite.com/pages/cars/mycar.html
This will not load into a frame, which is not what I want.
What I want is, via JS, to be able to detect that the window is not currently framed, then create the frames (v simpy, 2 col frame setup, left one with links in it, main one with the page in it) then load the links (my navigation) into the left frame and then load the page the user actaully entered the url for, in the main frame.
I know it’s very easy to just do something like:
if (top == self) self.location.href = “INSERT HOMEPAGE HERE”;
and get it to go to my main index.html page where the frameset would be defined, but I really want the actual page they requested in the main frame.
Am I asking too much here?