W3C home > Mailing lists > Public > public-xhtml2@w3.org > April 2008

About iframe and object

From: Alessio Cartocci <a.cartocci@webprofession.com>
Date: Wed, 30 Apr 2008 16:45:20 +0200
Message-ID: <263f692a0804300745o51b3dfffne1e4231bfac64e08@mail.gmail.com>
To: "XHTML WG" <public-xhtml2@w3.org>

Dear all,
I have published a test page for planned tests on bookmarking of
<object> and <iframe> elements. Actually this page is composed by two
iframes (identified with "f1" and "f2" ids) and two text/html objects
(identified with "f3" and "f4" ids); the example currently works on
Firefox 2+ and the entire dynamic refresh is generated by a javascript
routine.

A typical url, based on xframes syntax, can be like this:
http://labs.iwa.it/xhtml2/test2.xml#src(f1=http://labs.iwa.it/blog/,f2=http://labs.iwa.it/)

or
http://labs.iwa.it/xhtml2/test2.xml#src(f3=http://labs.iwa.it/blog/,f4=http://labs.iwa.it/)

or even assigning addresses for all ids.

I still have to "populate" the domain to show more and clearer
examples of internal navigation and dynamic changing of the elements
content driven by browser address bar; at the same time the bar
reports every iframe/object navigation changes. Obviously we have
security issues, so we'll have to browse only documents stored on the
same domain.

According to friend Diego La Monica of PF-ARIA WG I preferred to
rebuild with a regular expression part of the innerHTML in the
<object> because the dynamic changing of the "data" attribute
unfortunately seems to have no real effect on the element's content
reloading (only an iframe can interoperate as a *real* frame).

When manually composing a url in the address bar it could be necessary
to reload the entire page with the refresh browser button (maybe I
should think to add a listener to avoid that).

Please look at this as a work in progress: actually it's just an
"alpha" to improve hardly, and that could be interesting to
re-implement with ARIA and cross-browser features. Any feedback and/or
suggestion will be very appreciated.

Have a nice day
Alessio

---
Alessio Cartocci
International Webmasters Association / The HTML Writers Guild
http://www.iwanet.org
Received on Wednesday, 30 April 2008 14:45:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 February 2010 18:12:48 GMT