- From: Léonie Watson <tink@tink.uk>
- Date: Mon, 20 Nov 2017 09:07:25 +0000
- To: Albert Jan Wonnink <albertjan.wonnink@epona.com>, "public-webapps@w3.org" <public-webapps@w3.org>
On 19/11/2017 12:04, Albert Jan Wonnink wrote: > I might be misinformed, but as far as I’m aware there is not a mechanism > defined by the W3C where a hyperlink in an anchor can be used to load > extra html in an existing page without the use of (i)frames or > JavaScript. Such a feature would however add simple, but very powerful > usability to a website, whereas implementing this in the browser logic > must be trivial. > > A link as proposed could for example be specified as <a > href=’http://linktoextracontent.html#targetId’ target=’_inline’ … . > Using this structure, the browser should load the extra html requested > as innerHTML of the element with id=’targetId’. > > Of course one has to consider cross-domain issues an one should possibly > ignore the accidental misuse of some tags in the extra content (‘head’ > and its content, ‘html’, ‘body’). > > A complementary mechanism could allow late loading of parts of a page, > again without the use of JavaScript. A tag or attribute ‘inline’ could > cause a second load of content, after the primary content of the page is > loaded. > > So this could be specified with something like <inline URL=’ > http://linktoextracontent.html’ />. > > I hope I have addressed the appropriate group. If not, feel free to > forward this message. Hello Albert. This is the right Working Group for HTML, but W3C now aims to incubate new ideas in the Web Platform Incubator Community Group (WICG). You can post your proposal for discussion on the WICG Discourse forum: https://discourse.wicg.io/ Hope this helps. Léonie. > > Regards, > > Albert Jan Wonnink > -- @LeonieWatson @tink@toot.cafe tink.uk carpe diem
Received on Monday, 20 November 2017 09:08:14 UTC