Results 1 to 6 of 6
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Wellington, Wellington, New Zealand
    Posts
    378
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Include text from another file (97)

    Hi

    Using HTML, is it possible to include text from file B in file A, so that file A automatically reflects changes to file B?

  2. #2
    Gold Lounger Rebel's Avatar
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    3,024
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Include text from another file (97)

    Can't remember what the menu structure was in FP 97, but in 2003 (with the page in design mode), Insert>Web Component>Included Content. FP Help should give you some more information on exactly how to set this up.
    John
    A Child's Mind, Once Stretched by Imagination...
    Never Regains Its Original Dimensions

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Wellington, Wellington, New Zealand
    Posts
    378
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Include text from another file (97)

    I was hoping to do it using HTML, without using a FrontPage component. (I'm using FrontPage as an editor, but the site's not being published as a FrontPage website.)

    Can do?
    Dale

  4. #4
    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: Include text from another file (97)

    If you want the server to merge the content into the page, you need to use a server-side technology. If not FrontPage server extensions, then SSI (server side includes) or ASP or PHP, etc. If you want the browser to pull the content and insert it into the page, you can use an <iframe> or client-side scripting.

    There's a sort-of-related thread on the web design board, I think the subject line might relate to Google ads.

  5. #5
    Gold Lounger Rebel's Avatar
    Join Date
    Jul 2001
    Location
    Canada
    Posts
    3,024
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Include text from another file (97)

    Would this article help ? This Google search finds a number of useful references.
    John
    A Child's Mind, Once Stretched by Imagination...
    Never Regains Its Original Dimensions

  6. #6
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Wellington, Wellington, New Zealand
    Posts
    378
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: Include text from another file (97)

    Thanks to you both. I wasn't aware of IFRAME, and will use that.

    Dale

Posting Permissions

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