Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[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.uk 
Received on Monday, 13 June 2005 16:01:57 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.