I am not sure how it was done, but there is a mac widget that does just this.   The web site for the author is:




On Jan 9, 2006, at 3:37 AM, Tjaart de Beer wrote:

Hi

I am a newbie tryinh to developing pages with _javascript_. I am trying to enable a user to load any pdb file (from the PDB) into Jmol from a webpage. I have tried using the following:

jmolApplet(600, "load http://www.pdb.org/pdb/files/1tx2.pdb");

without any success. It gives me an error saying "bad URL" but if I open up the link in Firefox I see the physical pdb file.

The idea is to allow the user to type in a pdb file code which will then be automatically loaded. Any ideas?

Thanks for any suggestions!
-- 
Tjaart de Beer
University of Pretoria
Lynwood rd
Pretoria
South Africa
0001


---------
The software required "Windows XP or better" ... so I installed Linux


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
_______________________________________________
Jmol-users mailing list

J. Philip Bays

Professor of Chemistry

Science Hall 158

Saint Mary's College

Notre Dame  IN  46556

(574) 284-4663


Reply via email to