Hi, 

This is in continuation to my previous query of converting Jmol to JSmol.
Though the browser works fine with the new JSmol, the radio buttons don’t work 
properly.

I have the same cgi script for visualizing the protein structure:
(JAVA applets- Jmol version): 
http://dockground.compbio.ku.edu/cgi-bin/visual_java.cgi?pdbid=gwd45052cx
(JAVASCRIPT/HTML 5- JSmol version): 
http://dockground.compbio.ku.edu/cgi-bin/visual.cgi?pdbid=gwd45052cx

While the button “Show chain A” or “Show chain B” works right for the Jmol 
version, it hides only the interface residues of chainA/B instead of the whole 
chain in the JSmol version.

Please suggest the changes I need to do to hide the whole chainA/B when clicked 
in JSmol version.

Thanks,
Das

On May 28, 2015, at 10:17 AM, Madhurima Das <madhurima....@gmail.com> wrote:

> Hi Bob,
> 
> Thank you so much for the help.
> The browser is working fine now!!
> 
> Thanks,
> Das
> 
> On May 27, 2015, at 6:08 PM, Robert Hanson <hans...@stolaf.edu> wrote:
> 
>> Your Jmol2.js is faulty. It needs to read:
>> 
>> Jmol.Info = {      
>>             // uncomment one or more of these next lines only if you want to 
>> override jmolInitialize()
>>             //jarPath: "java", 
>>             //jarFile: "JmolAppletSigned0.jar", 
>>             //j2sPath: "j2s", 
>>             use: "HTML5", // could be JAVA or HTML5
>>             // the serverURL path is only used to load binary files in 
>> Safari, Chrome, and MSIE
>>             serverURL: "http://your.server.here/jsmol.php";, // required for 
>> binary file loading (Spartan, .gz, .map, etc.)
>>     disableJ2SLoadMonitor: false,
>>     disableInitialConsole: true
>> 
>> }
>> 
>> Yours at http://dockground.compbio.ku.edu/jmol/Jmol2.js is missing some of 
>> those comment slashes. 
>> 
>> Please use the one at  http://chemapps.stolaf.edu/jmol/jsmol/js/Jmol2.js
>> 
>> Bob
>> 
>> 
>> ​
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 

------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to