Results 1 to 11 of 11
  1. #1
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Linking to Frame Page

    This is the link:

    Health Canada

    If you open the source for the frameset, frame_page2.html, you see this code for the lower frame:

    <frame src=http://www.hc-sc.gc.ca/english/index.htm name='bottom_frame' MARGINWIDTH=5 MARGINHEIGHT='0' frameborder='0' topmargin='0' SCROLLING=auto NORESIZE>

    Somehow, the parameter has become embedded in this document. This type of thing is characteristic of ASP pages (using, for example, Request.QueryString), but the server is running Apache:

    HTTP/1.1 200 OK
    Date: Wed, 11 Apr 2001 02:19:20 GMT
    Server: Apache/1.3.12 (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5b-dev mod_layout/2.1
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html

    So... I'm not sure how this is done on that site.

    Do you have access to a server that runs ASP (typically IIS)? If so, I think you can do this pretty readily.

  2. #2
    hns7
    Guest

    Re: Linking to Frame Page

    Hello jscher2000;

    Thank you for your reply. I did find it, but I was unable to recreate it on our site. Our ISP supports ASP, therefore that should not be a problem.

    Could you create a sample link for me? I am using frames for the first time and have very little experience.

    The frame page address is: http://www.inglewoodcarecentre.com/health_...alth_links.html

    The frame property

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Linking to Frame Page

    Using the other example -

    <frame src=http://www.hc-sc.gc.ca/english/index.htm name='bottom_frame' MARGINWIDTH=5 MARGINHEIGHT='0' frameborder='0' topmargin='0' SCROLLING=auto NORESIZE>

    try this -

    <frame src=http://<%=Request.QueryString(1)%> name='bottom_frame' MARGINWIDTH=5 MARGINHEIGHT='0' frameborder='0' topmargin='0' SCROLLING=auto NORESIZE>

    This should insert the URL parameter (everything after the ? up to the next &) into the src= link.

    You might need to create a custom version of your frameset to accommodate this, otherwise, you will need to code for the possibility of a missing parameter.

  4. #4
    hns7
    Guest

    Re: Linking to Frame Page

    Hello jscher2000;
    Thanks for all your help, that will give me the base and I can play around.

    Appreciate your help
    Herb

  5. #5
    hns7
    Guest

    Linking to Frame Page

    Hello;

    Our website is non-frames except one page which has 4 frames (Main/Header/Footer/Contents). On our index page we provide links to other websites, this links open in a new window.
    I would like to direct these links to our frame page so that the visitor will stay within our website.
    I have seen this done by <A target="_blank" HREF=http://www.medbroadcast.com/main.shtm]>http://www.medbroadcast.com/main.shtm]</A> . From their site if you click on Health Canada , it will open in a in their own frame, which is a different page then the main page from which you click on the link. The link URL looks like that
    <A target="_blank" HREF=http://www.medbroadcast.com/health_topics/frame_page2.html?www.hc-sc.gc.ca/english/index.htm>http://www.medbroadcast.com/health_topics/...glish/index.htm</A>

    I have been trying to do the same with no luck.
    I would appreciate your input

    Thanks
    Herb

  6. #6
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    New Zealand
    Posts
    295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Linking to Frame Page

    Herb, there is a simpler way in Frontpage. You can name the frame that you want used then in the hyperlink options specify what frame the shortcut is opened in. In Frame Properties you can name the frame, then in the Target Frame in the hyperlink type the name.

  7. #7
    hns7
    Guest

    Re: Linking to Frame Page

    Hello Mike;

    Thank you for your help. It would be nice if there were a simpler way. Would it be possible to give me an excample based on the information I provided in my reply to jscher2000?

    Again, thanks for your help

    Herb

  8. #8
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    New Zealand
    Posts
    295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Linking to Frame Page

    Herb I have attached a picture showing where to set it up. As your frame is xcalled main you just need to enter it as shown. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Attached Images Attached Images

  9. #9
    hns7
    Guest

    Re: Linking to Frame Page

    Hello Mike;
    I truly appreciate your help. I have tied several different links, but I am unable to force it into the main frame.
    That is what I came up so far.
    The link originates from our index page (or any other page), which has no frames, and I like to open it in the frame page.

    http://www.inglewoodcarecentre.com/health_...glish/index.htm"target="_frames/health_links_main_.htm">Health Canada</a>>http://http://www.inglewoodcarecentre.com/health_...glish/index.htm"target="_frames/health_links_main_.htm">Health Canada</a></A>

    Can you can see what I am doing wrong? I'll keep trying.
    <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

    Thanks Herb

  10. #10
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    New Zealand
    Posts
    295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Linking to Frame Page

    Ok Herb, I think I see what you are trying to do. If I'm understanding you correctly you are trying to call a non framed page from another non framed page and force them into a frame. If I'm right in my thinking then I'm not sure how you do it I'm afraid. <img src=/S/flee.gif border=0 alt=flee width=25 height=25>

  11. #11
    hns7
    Guest

    Re: Linking to Frame Page

    Hello Mike;

    Yes, that is what I am trying to do, I've seen it done at <A target="_blank" HREF=http://www.medbroadcast.com/>http://www.medbroadcast.com/</A>
    Thanks for your help.

    Herb
    <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •