Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    May 2001
    Location
    Chesapeake, Virginia, USA
    Posts
    86
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Reference an HTML file in its own frame system?

    I'm relatively new to HTML coding. I have a situation where I would like reference a particular page on someone else's framed web site in a separate browser session/window. However, I don't want the page in question to appear in MY site's framework, nor do I want the other site's page to appear separately outside of ITS own native framework. Is there some way that "TARGET=" can be used to make this happen from my end? Is there some code the other webmaster (who would be willing to cooperate on this) could add to the page in question to automatically force it into its own context?texttexttext

  2. #2
    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: Reference an HTML file in its own frame system?

    Case 1: You want to open a frameset in a new window.

    Solution: Use HREF="frameset.html" and TARGET="_blank" in the A tag.

    Case 2: You want to open a frameset in a new window, but the page you want in the main frame is not the default page, it's a page that normally you have to navigate to.

    Well... if there's only one page involved; a custom frameset page starting with the desired frame probably makes the most sense.

    If there are multiple links, go back in this board for threads about how to pass a parameter to a frameset to load the correct document (using, e.g., an ASP page as the frameset). This would be a pretty big investment by the other site just to facilitate your links. Another possibility is that the other site could add code to the individual pages to "re-frame" themselves. This would be similar to what happens with Technet and MSDN articles on Microsoft's web site (e.g., http://msdn.microsoft.com/workshop/author/...ties/target.asp opens and then it immediately opens http://msdn.microsoft.com/library/default....ties/target.asp). Then you could link directly to the page (in a new window) and let the page reload itself with the other frames around it.

    Does any of this help?

  3. #3
    Star Lounger
    Join Date
    May 2001
    Location
    Chesapeake, Virginia, USA
    Posts
    86
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Reference an HTML file in its own frame system?

    You've been busy answering my queries in various forums. Thanks for all the input.

    "Case #2," as you call it, is what I'm after. It's good to know that it can be done, but it may be a little beyond my skill level (and that of the other "webmaster" involved) at the moment. Sounds like after I finish my JavaScript book, I need to come up to speed on ASP.

  4. #4
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    1,862
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Reference an HTML file in its own frame system?

    FYI: Some redirecting can be done with no server-side code (although I don't know if this will be of use in this situation. You can redirect with a simple META tag like this:<pre><meta http-equiv="Refresh" content="5; URL=http://NewLocation.com"></pre>

    This will redirect the user to the specified site in 5 seconds (you can change the number to less if you like...). Just place this within your <head></head> section of the desired page.

    HTH <img src=/S/salute.gif border=0 alt=salute width=15 height=20>

Posting Permissions

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