Jmol developers:

Take a look -- Protein Explorer now works with Jmol!

http://chemapps.stolaf.edu/pe/protexpl


-- developer notes --

This uses the signed applet, and I'm happy to say it works 
extraordinarily well. There are going to be limitations -- serious 
thought, for example, should be given to MolSlides. This is not going to 
work to have 20 large Jmol windows on a page. For one or two slides, I 
think it might be OK, but I would recommend retooling that with an 
applet in mind. (Scripts and text stored in JavaScript; a single DIV 
replaced with files, something like that. More like a power point rather 
than a long scroll of paper.

There are more aspects there to get working, such as all the "advanced 
options". But I think I will let people try it out now and tell me 
what's working and what's not, what's important and what's not. (I'm 
sure comparisons don't work, because I haven't taken the time to see how 
you do that.)

Lessons learned in this endeavor:

--Just about all the hacks in Protein Explorer for
different browses can be removed or bypassed --
in terms of supporting modern browsers using Jmol.
Only Opera balked. As far as I can tell, there are
no differences between MSIE, Safari, and Firefox
in terms of the operation of the applet. Hurray!

--The signed applet works fabulously. There are tricks
to getting this right, though. For example:

---- You cannot load a file or run a script
from another server using any JavaScript command.
 
---- If the Javascript creates a new applet
with the load command in a <param name="script">
tag, that's OK.

---- Opera doesn't allow writing over a div with a
new applet, but the others do. That's what I'm doing in PE.
(Opera creates the applet but can't talk to it.)

-- It's possible to create a page that uses the signed
applet to read any file anywhere and report it's contents
back to the opener in a function. This is how the [view]
button works. This capability was not possible with Chime.

--Jmol's scripting engine is robust. There is no problem
with mis-ordered callbacks the way there was in Chime.




Bob

-- 

Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to