Wow, this is a fantastic idea. Never would have thought it was possible.
On my machine, Mac OSX 10.4.9, Safari 2, the text for each
"button" (i.e., clickable echo) is overlapping, one button with the
next. Clicking "surfaces" changes the text to "...working..." and
then a surface appears, but confusingly the button now says "no
surfaces". Oh, I get it, I'd click that to turn the surface off.
Aside from the overlapping of the text of these buttons, seems to
work great.
And that cavities script- cool effect!
Frieda
On Apr 13, 2007, at Apr 13, 10:07 AM, Bob Hanson wrote:
Here is an experimental page that illustrates emerging (11.1.29)
capabilities of Jmol to have echo text that is clickable:
http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/
buttons.htm
You should see three buttons at the bottom of the page. Each of these
comes from its own spt file:
http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/data/
btnSurface.spt
http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/data/
btnAnim.spt
http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/data/
btnCavity.spt
No JavaScript callbacks here. The page simply looks like this:
<HTML>
<HEAD>
<TITLE>Jmol buttons example</TITLE>
<script type="text/javascript" src="Jmol.js"></script>
</HEAD>
<BODY bgcolor="#A0A0A0">
<script>jmolApplet(["100%",500],"script data/buttons.spt")</script>
</BODY>
</HTML>
Bob
----------------------------------------------------------------------
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users
///////////////////////////////////////////
Frieda Reichsman
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com
///////////////////////////////////////////
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users