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;
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?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)