E
Eric Biller
Hi@all,
After several hours surfing the web and the quite a number of posts in
this NG I came not a bit nearer to a solution to my problem.
I tried to embed an VRML-object in a page. Since trying this the page
contained only valid html code. Now there is my problem:
In my understanding of the HTML4.01 strict standard embedding has to be
done via the <object> tag. Right?
Ok, I tried the following code:
<object src="http://www.somehost.xxx/someobject.wrl" type="x-world/x-vrml"
width="200" height="200">
blablabla<a href="lsdhgls">askföl</a><br>
dfjsdjfp apfjapo jfpaojf pa
</object>
This code validates well but IE5.5 shows the object well. Opera (without
plugin) renders all the code between <object> and </object> at the same
line (overlaying). But in this space I had put the link for downloading
the plugin in. The link was completely useless, because it was unreadable.
Ok, next try.
<embed src="http://www.somehost.xxx/someobject.wrl" height="300"
width="400"
pluginspage="http://ca.com/cosmo/" standby="loading object.."></embed>
This code worx on IE5.5 and Opera7.21 shows the object box and when
activated asks to goto pluginspage.
This is exactly the way I want the object to work.
But this is not valid code as the tag <embed> may not have the given
attributes.
My client wants this object to be included, personally I would not pay any
attention to vrml.
The site is rather large (largest project I ever made, I suppose) and I
was proud that every page was considered valid. It will be a pity if this
vrml-crap will destroy validity.
I wonder if there is a valid way to include it?
greetz Bilefrog
After several hours surfing the web and the quite a number of posts in
this NG I came not a bit nearer to a solution to my problem.
I tried to embed an VRML-object in a page. Since trying this the page
contained only valid html code. Now there is my problem:
In my understanding of the HTML4.01 strict standard embedding has to be
done via the <object> tag. Right?
Ok, I tried the following code:
<object src="http://www.somehost.xxx/someobject.wrl" type="x-world/x-vrml"
width="200" height="200">
blablabla<a href="lsdhgls">askföl</a><br>
dfjsdjfp apfjapo jfpaojf pa
</object>
This code validates well but IE5.5 shows the object well. Opera (without
plugin) renders all the code between <object> and </object> at the same
line (overlaying). But in this space I had put the link for downloading
the plugin in. The link was completely useless, because it was unreadable.
Ok, next try.
<embed src="http://www.somehost.xxx/someobject.wrl" height="300"
width="400"
pluginspage="http://ca.com/cosmo/" standby="loading object.."></embed>
This code worx on IE5.5 and Opera7.21 shows the object box and when
activated asks to goto pluginspage.
This is exactly the way I want the object to work.
But this is not valid code as the tag <embed> may not have the given
attributes.
My client wants this object to be included, personally I would not pay any
attention to vrml.
The site is rather large (largest project I ever made, I suppose) and I
was proud that every page was considered valid. It will be a pity if this
vrml-crap will destroy validity.
I wonder if there is a valid way to include it?
greetz Bilefrog