Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #32246

Re: Adding section into page

Newsgroups comp.lang.javascript
Subject Re: Adding section into page
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <BJhJnbcqB$gYFwL8@invalid.uk.co.demon.merlyn.invalid>
Date 2017-01-22 00:47 +0100
Message-ID <XnsA7058040239Eeejj99@194.109.6.166> (permalink)

Show all headers | View raw


Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> wrote on 22 Jan
2017 in comp.lang.javascript: 

> I have some HTML pages and some HTML sub-pages.  The sub-pages can be
> read independently by me as author, but their purpose is to be
> incorporated variously into the pages at or shortly after page-load
> time. 
> 
> At present, because I know how, I have been reading the sub-pages into
> Iframes constructed in HTML, and manually setting the value of the
> height of each Iframe.  And I have been setting some of the individual
> heights by using code like
> 
>   setTimeout('Fram.style.height =
>   Fram.contentDocument.documentElement.scrollHeight+"px"', Wate) 
> 
> for each instance, but it is cumbersome and inelegant.
> Using   Fram.onload   would presumably be better.
> 
> How should it be done nowadays, for current and recent systems?
> Is there something better than an Iframe?
> An in-line HTML Include, for example?

Use serverside includes.


-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Adding section into page Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-21 23:36 +0000
  Re: Adding section into page "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-22 00:47 +0100
  Re: Adding section into page Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2017-01-22 15:38 +0000
    Re: Adding section into page Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-23 23:39 +0000
      Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-23 17:37 -0800
        Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-23 17:38 -0800
      Re: Adding section into page Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2017-01-24 02:54 +0000
        Re: Adding section into page Cezary Tomczyk <cezary.tomczyk@gmail.com> - 2017-01-24 21:33 +0100
      Re: Adding section into page Dr J R Stockton <J.R.Stockton@physics.org> - 2017-01-25 14:30 -0800
        Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-25 17:51 -0800
          Re: Adding section into page Dr J R Stockton <J.R.Stockton@physics.org> - 2017-01-26 04:17 -0800
            Re: Adding section into page "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-26 14:16 +0100
              Re: Adding section into page Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-01-27 22:33 +0000
            Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-27 06:34 -0800
  Re: Adding section into page "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2017-01-22 10:52 -0800
    Re: Adding section into page Ram Tobolski <ramtob@gmail.com> - 2017-01-23 08:50 -0800

csiph-web