VMD-L Mailing List
From: Albert (mailmd2011_at_gmail.com)
Date: Sun Oct 18 2015 - 13:11:26 CDT
- Next message: John Stone: "Re: problem of x3d in chrome and IE"
- Previous message: Nuno Sousa Cerqueira: "viewMaster plugin"
- Next in thread: John Stone: "Re: problem of x3d in chrome and IE"
- Reply: John Stone: "Re: problem of x3d in chrome and IE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello:
I've generated a .x3d file from VMD and inserted into a .html file with the
following code:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>This 3D model is created by VMD</title>
<link rel="stylesheet" type="text/css" href="x3dom-1.7.0/x3dom.css" />
<script type='text/javascript' src='x3dom-1.7.0/x3dom.js'> </script>
</head>
<body>
<p class="case">
<!-- Use the same "x", "y", "width" and "height" attributes as SVG.
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" height="1000px">
<Scene DEF='scene'>
<Inline DEF="vmd" url="x3d/ACT-1003-8157.x3d" />
</Scene>
</X3D>
</p>
</body>
</html>
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
- Next message: John Stone: "Re: problem of x3d in chrome and IE"
- Previous message: Nuno Sousa Cerqueira: "viewMaster plugin"
- Next in thread: John Stone: "Re: problem of x3d in chrome and IE"
- Reply: John Stone: "Re: problem of x3d in chrome and IE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]