[Proteopedia] putting a call to a scene within a jmol button or jmol link

Jaime Prilusky jaime.prilusky at weizmann.ac.il
Tue Nov 18 07:09:28 EST 2014


Dear Wayne,

Interesting approach. Well done. 

You may load scenes from any script by following these instructions:

Let’s assume that the green link to your scene is <scene name='41/413146/Space_fill/1'>Space fill</scene>. You need to add ‘load /wiki/scripts/‘ before the name and ‘.spt’ after it, as follows:

<jmol><jmolLink>
<script>
load /wiki/scripts/41/413146/Space_fill/1.spt
…. 

Please remember that Templates are too demanding for the system. For those cases where you will have a specific link on only one or two pages, I would suggest for you to try insert the <jmol><jmolLink> block in the page itself.

Regards,
Jaim
__
Dr Jaime Prilusky
Head Bioinformatics 
R&D Bioinformatics and Data Management
Department of Biological Services
Weizmann Institute of Science
76100 Rehovot - Israel

mail: Jaime.Prilusky at weizmann.ac.il
tel:  972-8-934-4959
fax: 972-8-934-6006
OCA, http://oca.weizmann.ac.il (the protein structure/function database)
Proteopedia, http://proteopedia.org (because life has more than 2D)
------------------------------------------------------------------------

> On Nov 17, 2014, at 5:23 PM, Wayne Decatur <wdecatur at yahoo.com> wrote:
> 
> Hi,I have been able to make buttons and scene links that I can place within a Proteopedia entry that allows users to trigger Jmol scripts that initiate complex actions or that toggle different representations on and off. (See the page on the Ribosome, http://www.proteopedia.org/wiki/index.php/Ribosome#Ribosome_Components , for example.)
> 
> What I am wondering now is if there is some way to also call up a scene saved on Proteopedia from within such Jmol scripts placed in a Proteopedia page?  
> On some pages I cannot always be sure the user has the structure or scene open I wish the script to build upon. So I'd like to call up a certain scene at the start of a Jmol script and then build a custom script from there.
> 
> Thanks,Wayne
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.bioinformatics.org/pipermail/proteopedialist-for-users/attachments/20141117/23b97bcd/attachment.html>
> _______________________________________________
> Proteopedialist-for-users mailing list
> Proteopedialist-for-users at bioinformatics.org
> http://www.bioinformatics.org/mailman/listinfo/proteopedialist-for-users



More information about the Proteopedialist-for-users mailing list