Hello Sarabjeet 
I have no experience with electron density maps, but a little cleanup of your 
code 
might help:

<script type="text/javascript"> 
jmolButton("zap; load 5c7w2.pdb; wireframe -75; isosurface id ~mesh color 
purple 
within 2.0 {18 or 78} "5c7w.ccp4.gz" mesh nofill; restrict [50N] or [50L]; 
centre 
[50N] or [50L];","Button 3"); 

Particularly, I don't see why you had 2 nested jmolButtons; that makes no sense 
to 
me.
Also, you should rather be using the modern JSmol syntax, Jmol.jmolButton() 
instead of jmolButton()   Are you using jmol2.js?

Third, it's better to avoid "restrict" in favour of "display" -- less 
destructive and more 
reversible.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to