Web Control of VMD
A normal web browser can be used to control VMD, allowing
presentations and demonstrations to be put online, so that others can
view them. These pages describe what you need to do to view and
create VMD-enabled web pages. If have any questions beyond what is
explained here, please send email to vmd@ks.uiuc.edu.
Viewing VMD-enabled web pages
To view the demos, you need to download and install VMD. For Microsoft Windows, you need to be using VMD version 1.7.1 or later. Next, configure your browser to use VMD.
Now you may view a demo.
Creating VMD-enabled web pages
- Download the files used to create the demo page from demo.zip or demo.tgz.
- Unpack these files in the directory where you want to create your
web page. Here's what you get:
one_glpf.pdbExample PDB file. glpf.pngImage of the system. index.htmlThe web page. main.htmlText of the presentation. control.vmdVMD script that controls the presentation. blankcmd.htmlFile that initially occupies the command frame. .htaccessIncluded for users of the Apache web server. If you are using a different web server, you will need to assign the MIME type chemical/x-vmdto.vmdfiles. - Finally, modify
main.htmland the commands at the end ofcontrol.vmdto create your presentation. Following the example, create a procedure for every needed command. You can then write a link to the command as<a href="http://127.0.0.1:2000/proc" target="invisible">, where proc is replaced by the procedure you want to call.



