Thread: Frames and linking help
Results 1 to 7 of 7
01-08-2003, 08:30 PM #1
Frames and linking help
I am trying to send an email with a link to my homepage (consists of 3 frames) but I want to be able to open up any page of website in the main window.
If that didn't make any sense let me give an example of what I mean...
INDEX page consists of a title frame, CONTENTS frame with links and a MAIN frame. Pretty standard.
When the page is opened an INTRODUCTION page is viewed in the MAIN frame.
I would like to create a link to my INDEX page but with a difffent page in the MAIN frame. ie I would like this link to open the NEWS page in the MAIN frame if I choose whilst keeping INTRODUCTION as the default page.
I hope this has made some sense and that someone out there can help.
01-08-2003, 09:22 PM #2
01-08-2003, 09:43 PM #3
Unfortunately the website is on an intranet which is not available to the public
I am happy to answer any questions to make my problem clearer.
MAybe this will help.
Imagine that this home page (http://www.ahfb2000.com/), even though it is not, is infact made of three frames, the title bar at the top, the side contents frame and then the contents frame which currently has the quote
"...Remember being a youngster, mom or dad telling you "close the door". Well the same applies to HTML...."
Now Click on a link in the contents section...say the next one down, SITEMAP. Assuming that the title and contents don't change becuase they are frames, how would I create a link from some other webpage that would take me directly to this view rather than having to start at the introduction page and click the sitemap link.
I assume it would have to be something along the lines of
"http://www.ahfb2000.com/? something to do with the frame name"
Does this help?
01-08-2003, 11:08 PM #4
Could you copy and paste the code for the page? Then we could still view it, or most of it.
01-08-2003, 11:57 PM #5
Ahh I get you now, Basically you will need to build a new frameset for any other page changing of course the url of the main frame. give this frameset the appropriate name and of course if you want this page in the engines build a good noframes tag.
01-08-2003, 11:58 PM #6
01-09-2003, 12:19 AM #7
thanks for your help. It's actually sorted.
Changed the page to asp and added:
If Request("startpage")<>"" Then
strFrameSource = Request("startpage")
strFrameSource = "Introduction.asp"