yes, absolutely you must use the latest version if you are using any RC at
all.
On Tue, Aug 26, 2008 at 3:03 PM, Thomas Stout [EMAIL PROTECTED]wrote:
I have a stripped down Jmol implementation that I am using for debugging.
It contains nothing but the applet:
!DOCTYPE HTML PUBLIC
I finally had a chance to read Angel's book on Jmol. I learned a lot, and now
I'm wondering when volume 2 might be available.
-Jennifer
Jennifer Muzyka
Professor of Chemistry
On sabbatical at University of Kentucky College of Pharmacy
Centre College
Danville, KY 40422
[EMAIL
thanks for finding that, Angel. It's fixed for 11.6.RC11. Those files should
be available as
http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11_5.zip shortly
Bob
On Tue, Aug 26, 2008 at 2:25 PM, Angel Herráez [EMAIL PROTECTED] wrote:
Hello all
I had this script for getting a
Hi Dean
Yes. I have used sub in echos, although not often. I have a recent example
using 11.5.41. My echo is Hsub2/subO
Maybe your problem is only with long subscripted texts?
-
This SF.Net email is sponsored by the Moblin
It's a bug I need to fix. Don't go back to RC9 -- that's broken for drawing
pointgroups the second time. It's a problem with the caching I added in
RC10. Jmol doesn't recalculate the point group or the draw set if it finds
suitable ones already present. But I forgot to check for that axis number.
Dean, that fix is checked in -- problem for any case where there is no
principal axis.
On Fri, Aug 22, 2008 at 9:52 PM, Dean Johnston [EMAIL PROTECTED]wrote:
OK, it's working much better, but a few obscure errors with my test set
(this is with both 11.6.RC10-applet, and
OK, here is the state for ammonia, with a label of Point Group =
Csub3v/sub at the bottom left. Without the tags the spacing is normal.
Dean
# Jmol state version 11.6.RC11_dev 2008-08-14 16:55;
# fullName = jmolApplet0__163573001520736__;
# documentBase =
My apologies. This is really more of a javascript/html question but
it is on a Jmol project I am working on. Could someone explain to me
what is the problem with the following code? The appletReady()
function works just fine in Safari and the page validates as HTML 4.01
strict, but the
Jeff,
No apologies needed. Giving an id to a div does not create a Javascript
object automatically (at least in Firefox). You will have to use something
like:
var myText = document.getElementById('jmolText');
and then say
myText.value = dump(_dataInfo);
It's interesting that it *does*
On 27 Aug 2008 at 10:57, Dean Johnston wrote:
OK, here is the state for ammonia, with a label of Point Group =
Csub3v/sub at the
bottom left. Without the tags the spacing is normal.
Just typing it in the console of 11.6.RC10 app it looks Ok to me
Maybe some combination with other scripts are
Hi Jeff
The key must be in the dump() function, I'd say
You are trying to write an array into a text area. I guess different browsers
may take that differently, unless you force the array to become a string.
Or, how about calling jmolText fully?
document.getElementById(jmolText).value =
Right -- name attribute is quite problematical. In some browsers id is
accessible as name, but that's not acceptable. And in some browser
versions the name of an element in a form is under the form name rather than
the document.
Always use id and, as Dean points out, then access it only using
Dean,
Yeah, I thought of that and tried it, but that didn't work either. In
that case Firebug reports that getElementById is not defined. So it
seems for some reason Firefox isn't recognizing the textarea's id.
Incidentally, I get a similar error when I try the same with the
textDiv
So, just to be thorough: it still does it for me in version 11.6RC10. I've
tested Firefox 3.0 on linux, Firefox 3.0.1 on WinXP, IE on WinXP and Safari
on WinXP -- all behave similarly. Turning on and off set antialiasdisplay
does appear to be the trigger
-Tom
Here's a state dump:
# Jmol
Found it! It's an artifact of the set antialiasDisplay (true). (It only
appears unusual when a sub or sup tag it present *and* antialiasDisplay
is on.) I'll leave it to Bob to track *that* one down...
Dean
On Wed, Aug 27, 2008 at 11:56 AM, Angel Herráez [EMAIL PROTECTED]wrote:
On 27 Aug
that's what I needed. Fixed. Vertical was off as well.
On Wed, Aug 27, 2008 at 10:56 AM, Angel Herráez [EMAIL PROTECTED]wrote:
On 27 Aug 2008 at 10:57, Dean Johnston wrote:
OK, here is the state for ammonia, with a label of Point Group =
Csub3v/sub at the
bottom left. Without the tags the
Thanks. [States as attachments would be better] That's fixed for 11.6.RC11.
On Tue, Aug 26, 2008 at 3:03 PM, Thomas Stout [EMAIL PROTECTED]wrote:
I have a stripped down Jmol implementation that I am using for debugging.
It contains nothing but the applet:
!DOCTYPE HTML PUBLIC -//W3C//DTD
Jeff,
it looks as if there would be some kind of timing problem. With the
version I got from your URL it sometimes works with Firefox 2.0.0.16 on
Linux and sometimes not.
===
function appletReady() {
var _dataInfo = jmolGetPropertyAsArray(auxiliaryInfo);
var
Thanks. Bob. Using document.getElementById('jmolText'); worked.
Thanks for sharing your .js file as well. I'll probably take a look
at it at some point. I'm working towards my own at this point and I'm
afraid looking at yours will just prevent my learning how to do it
myself.
I'm working towards my own at this point and I'm afraid looking at yours
will just prevent my learning how to do it myself.
Shame! NEVER say that! The way to learn this is by adapting anything you can
find. That's the great thing about JavaScript. Learn how these code
fragments work by testing
Believe me I've been doing plenty of that, but I also have been
finding trial and error to be very instructive too. I did take a look
at your divs.js file. I don't yet understand all of it. I tried your
divFind and divWrite functions and I'm pretty sure I'm understanding
what they do.
This one might also be regarded as off topic, but as some you might
be stuck with the same problem, I thought it might be worth to share.
The issue is that starting from firefox 3.0, when using an input file
element in a form, you can't access to the full path of the file
chosen by the user,
yes, thanks, Paul, that's right. It's an interesting compromise. I had to
abandon the type=file in Jmol Protein Explorer for FireFox3 because of that.
If you can't get the actual path to the file, which I think is actually a
good security feature, you can't later reproduce the state, unless you
My experience is the appendChild is overkill for what you generally need.
Just make sure you have
jmolSetDocument(0)
and then the applet you get from
var x = jmolApplet(.)
can be inserted into any div. HOWEVER, as I recall there are problems with
some browsers not being able to communicate
24 matches
Mail list logo