VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Sun Oct 18 2015 - 16:40:36 CDT
Most likely, this should be updated to use the latest version of the
the latest ones, and then modify this line of the html accordingly:
You can get newer revs of x3dom here:
On Sun, Oct 18, 2015 at 08:11:26PM +0200, Albert wrote:
> I've generated a .x3d file from VMD and inserted into a .html file with
> the following code:
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
> A <title>This 3D model is created by VMD</title>
> A <link rel="stylesheet" type="text/css" href="x3dom-1.7.0/x3dom.css" />
> A A A A
> <p class="case">
> <!-- Use the same "x", "y", "width" and "height" attributes as SVG.
> A Optionally support the "viewBox" and "preserveAspectRatio" just like SVG
> <X3D xmlns="http://www.web3d.org/specifications/x3d-namespace"
> id="inline" showStat="true" x="0px" y="0px" width="1400px"
> A <Scene DEF='scene'>
> A A <Inline DEF="vmd" url="x3d/ACT-1003-8157.x3d" />
> A </Scene>
> A A
> This HTML file works file in Firefox, although the speed is not so good.
> However when I open it in IE or Google Chrome, it always claimed
> "loading...." but nothing displayed in the page after tens of minutes. I
> am just wondering, where is the problem?
> Thanks a lot
> Visible links
> 1. http://www.web3d.org/specifications/x3d-namespace
-- NIH Center for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349 http://www.ks.uiuc.edu/Research/vmd/