>> Finally am I wrong?  Can scripts be done without making use of the PHP
>> code?
>>
>>
>That php piece will be called if you request a binary format file (gz, zip,
>pse, etc.) from Safari, Chrome, or MSIE. Those browsers can't transfer that
>sort of file directly; they need a server-side piece. But they will have to
>have that ON  YOUR SERVER. In addition, that piece processes image-creation
>requests and "turns around" binary data such as JPG and ZIP files created
>by the JSmol on the page and simply returns it. That second part of the
>service could be anywhere, including chemapps. I have every reason to
>believe chemapps.stolaf.edu will be around for quite some time. So that
>should not be a problem.

>What is the call to that server look like? What's the URL?

>Bob


Bob,

Thank you very much for the quick answer.  It has completely answered my 
question.


The scripts I am referring to are simply rasmol scripts to alter the appearance 
of the structure e. g. "spin on;".  I had constructed my pages starting from 
your "supersimple.htm" example which included in the initial function the line:


serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/jsmol.php";


I found that when I changed the URL to my server, the page did not work. And so 
I had thought it was essential to have an active php server accessed.  But with 
the information you provide, I see that I should have no need for this for the 
simple things I am doing. A simple deletion of that line from my pages has no 
effect on their function (I should have tried that sooner).  So once I edit my 
pages to remove this I will no longer have reference to any outside server on 
my pages.


Here is an example of one of my pages:


http://www.mcb.ucdavis.edu/courses/jsmol/madjs.htm


I only use .pdb files and so I should have no need for any of the functions you 
mention so far as I can tell.


I will edit all of my pages to remove calls to your server.


Thanks!


Jaim,

Thanks for bringing proteopedia to my attention.  I will consider your offer.  
Right now during development it is simplest to host my pages on my Dept. 
server.  I am also considering ChemWiki and BioWiki which are NSF-funded 
projects hosted at my institution.


Best wishes and thanks again for JSmol,

Chuck

==============
Charles S. Gasser
Professor
Dept. of Molecular and Cellular Biology
University of California, Davis
1 Shields Ave.
Davis, CA  95616

104 Briggs Hall
530 752-1013

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to