![]() |
|
![]() |
||
![]() |
![]() |
|
[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date] Re: Divs and frames...
From: David Dorward <david@dorward.me.uk>
Date: Mon, 13 Jun 2005 17:01:51 +0100 To: www-html@w3.org Message-ID: <20050613160151.GD16672@us-lot.org> On Tue, Jun 14, 2005 at 12:13:53AM +1000, Joachim Ekstrand wrote: > I would like to have something like a div-tag (probably formatted by > a style-sheet) that has a contents source property so you can change > the contents and just load the contents in the div-tag. > > Something like: > <div id="leftBox"></div> > <a href="leftBox.content='page1'">Page 1</a> Which would reintroduce all the serious problems with frames (i.e. being impossible to provide a URL to the modified document). Since it involves _changing_ the content of the document on the fly, this also strikes me as a job for JavaScript rather then HTML anyway. > A simular behavior I believe I can achieve with some Javascript, but then > it would not be nice and clear code. And I would not get the behaviour of > just reload the contents in the div-tag only. Its relatively trivial with the technologies that are being buzz-worded as Ajax, but its probably not worth it. -- David Dorward http://dorward.me.ukReceived on Monday, 13 June 2005 16:01:57 GMT |
|
||||||||||||||||