VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Sun Oct 18 2015 - 16:43:36 CDT
- Next message: Majid Shahbabaei: "How can I trace an oxygen atom in VMD?"
- Previous message: John Stone: "Re: problem of x3d in chrome and IE"
- In reply to: John Stone: "Re: problem of x3d in chrome and IE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Albert,
Actually, looking at the x3dom page, it appears that 1.7.0 is the
newest rev, so then my suggestion for firefox would be to try one of the
slightly older revs, all of which are still available here:
http://www.x3dom.org/nodes/
In the case that you still have trouble, try opening the
javascript console on your browser and see if there are errors logged,
and that will help narrow the source of the problem.
Cheers,
John
On Sun, Oct 18, 2015 at 04:40:36PM -0500, John Stone wrote:
> Hi,
> Most likely, this should be updated to use the latest version of the
> x3dom javascript renderer. I would suggest to try downloading one of
> the latest ones, and then modify this line of the html accordingly:
> <script type='text/javascript' src='x3dom-1.7.0/x3dom.js'>
>
> You can get newer revs of x3dom here:
> http://www.x3dom.org/
>
> Cheers,
> John
>
> On Sun, Oct 18, 2015 at 08:11:26PM +0200, Albert wrote:
> > 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" />
> > 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 <script type='text/javascript' src='x3dom-1.7.0/x3dom.js'> </script> A
> > </head>
> > A A A A
> > <body>
> > <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="[1]http://www.web3d.org/specifications/x3d-namespace"
> > id="inline" showStat="true" x="0px" y="0px" width="1400px"
> > height="1000px">
> > A <Scene DEF='scene'>
> > A A <Inline DEF="vmd" url="x3d/ACT-1003-8157.x3d" />
> > A </Scene>
> > </X3D>
> > </p>
> > A A
> > </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
> >
> > References
> >
> > 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/
-- 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/
- Next message: Majid Shahbabaei: "How can I trace an oxygen atom in VMD?"
- Previous message: John Stone: "Re: problem of x3d in chrome and IE"
- In reply to: John Stone: "Re: problem of x3d in chrome and IE"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]