John Henckel <[EMAIL PROTECTED]> wrote :
>Maybe <object> doesn't work, but you can use <iframe> instead, and it will
>work on all popular browsers. For instance....
>
><html><body>
><P>See the ABC code in the window below<p>
><iframe src=test.abc height=200 width=600>
>since iframe failed, click <a href=test.abc>here</a>
></iframe>
><p>This is the end
></html>
I couldn't get <iframe> to work with by abc files with the .abc extension.
If I change the file extension to .txt , it does work fine, at least in
iCab (though not in my Netscape, oddly). Possibly this
extension-sensitivity is because our server sends out files with extension
.abc as text/vnd.abc rather than text/plain. Or, maybe it's something to do
with the way I've set up my browser.
However, in iCab at least, there is the same problem of not being able to
copy and paste which Phil Taylor noticed, with <IFRAME> as well as with
<OBJECT>.
The advantage of <OBJECT> is that you can specify the type of data, not
relying on the browser (or the server, or the user's configuration of the
browser) to figure out what kind of data it is.
I have now added this <IFRAME> alternative to my test file at:
http://www.lll.hawaii.edu/esl/bley-vroman/contra/dances/testobj.html
If others want to try, it would be interesting to hear about the results.
(As I've said before, I think the real problem is that browser builders
don't much bother with testing things out on plaintext objects.)
Robert Bley-Vroman
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html