Bob,

> what's doing the split? Your JavaScript?

I should have given you the JavaScript that set up that Jmol Script:

         mods = document.getElementById(jme1).jmeFile().split("|");
         var modA = mods[0]; var modB = mods[1];
         jmolScript("mod1 = '" + modA + "';mod2 = '" + modB + "';load 
'@mod1';" + loadScpt + "hover off;set appendNew false;load APPEND 
'@mod2';select *;wireframe 0.15;spacefill 23%;boundbox {*};centerat 
boundbox;");

As I look at it now, I see the problem. I don't know how long it's going 
to take me to get this in my head. Safari can't handle the Java string.  
I need to do:

  "" + document.getElementById(jme1).jmeFile().split("|");

OK, thanks on the jmeString informtion. That was my real question.

Otis




------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to