Re: [Jmol-users] Support of 'alchemy' format for rectangular schematic base-pair geometry

2008-12-10 Thread Robert Hanson
right -- sorry --

 See http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm and
 http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.zip


I've put up that roll-bend example instead of the other one.

By the way, one could do a whole lot with quaternions in this area.
Let me know if you are interested in exploring that. Looks like you
might have a prototype for a new cartoon representation of nucleic
acids. What do you think? We could have these for nucleic acids and
planes for proteins. All standard in Jmol.

Bob



 Xiang-Jun

 --
 Xiang-Jun Lu (Ph. D.)
 Creator  Maintainer of 3DNA
 Email: [EMAIL PROTECTED]
 http://3dna.rutgers.edu:8080/forum

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jmol-users mailing list
 Jmol-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-users





-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Jmol mediawiki extension

2008-12-10 Thread Robert Hanson
Something's not right.

mayscript = false in no way prevents jmolButton from being created,
and with mayscript=false, the jmolButton still works fine.

 Something else is going on there.

Bob



On Wed, Dec 10, 2008 at 3:14 PM, Angel Herráez [EMAIL PROTECTED] wrote:
 On 10 Dec 2008 at 7:36, Robert Hanson wrote:
 But, really, it's simpler than that if you want to disallow all
 callbacks and every last bit of JavaScript capability of the applet --

 just don't have mayscript in the applet tag.

 Ah, interesting.
 But then jmolButton()  et al.  do nothing. I mean, the button is not written 
 to the page*.  A
 very safe mode indeed, but not what we need for the Wiki. So I will go with 
 the 
 _jmol.noEval method.

 *) Rightly so, since they would not be able to send scripts to the applet.
 Oh, not exactly!  If I add a button using
 input type=button value=cpk off onClick=jmolScript('cpk off')
 it does send the script to the applet.
 So mayscript is unidirectional: its absence blocks Jmol from talking to 
 javascript, and
 blocks Jmol.js from generating UI controls, but does not block Jmol from 
 listening to
 javascript.  Intriguing...
 (tested in WinXP, Firefox, IE7 and Opera)

 This is the reference I recalled:
 http://www.javasonics.com/support/check_liveconnect.php



 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jmol-users mailing list
 Jmol-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-users




-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users