Further progress:
> I guess I could put the state into another (hidden) textarea and use that
> instead of the
> variable.
That does not work either.
> I could also parse the variable and insert line breaks (not sure)
This works:
var st = jmolGetPropertyAsString('stateInfo', '', appletID);
var st2 = st.split('"model inline"');
st2[1] = st2[1].replace(/\n/g,"|");
st = st2.join('"model inline"');
[...]
appletParent.innerHTML = jmolApplet(350, st, appletID);
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users