Hi Otis
Not sure if I get your exact intention.
JSmol creates the automatically, at least on
first invocation,
so rather than ading that div myself, I'd try forcing its css properties.
Hav you tried a rule with !important ?
> But evidently a movable absolute object inside a position fixed
Bob,
Is there any way I can use css to fix the CSS position of the Jmol console on
my page at specific coordinates. I know how to do this, but I don’t know how to
do it with the console.
I’ve tried using a object containing the
console per the docs. But evidently a movable absolute object
Thanks Bob, for some reason I keep forgetting about Jmol.evaluate. Even though
I use it all the time.
I am having a problem, however. The following works:
var jsvar = Jmol.evaluate(jmolApplet0, 2+2);Jmol.setInfo(jmolApplet0, jsvar,
true)
The following prints ERROR in the scratchpad (info ?)
show smiles is a command. jmolEvaluate requires an *expression*
xxx = JmolEvaluate(jmolApplet0, script('show smiles'))
Bob*
*
On Sun, Mar 10, 2013 at 10:20 AM, Otis Rothenberger
osrot...@chemagic.comwrote:
Thanks Bob, for some reason I keep forgetting about Jmol.evaluate. Even
though I use
OK, beautiful. This gives my biochemist colleague everything he wanted:
var jsvar = Jmol.evaluate(jmolApplet0, script('show
file')).replace(/(\r\n|[\r\n])/g, br /);Jmol.setInfo(jmolApplet0, jsvar,
true)
Actually, it gives me access to all the show in the scratchpad, or
whatever you want
Bob,
OK, I found it. I have control of this with applet._infoHeader.
Otis
--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com
On Mar 10, 2013, at 2:27 PM, Otis Rothenberger wrote:
OK, beautiful. This gives my biochemist colleague everything he wanted:
var jsvar =
Bob,
I was working on this in response to this request from a biochemist colleague:
It helps a lot with pdb files if you can read what they contain. It allows you
to know what kind of model you are looking at (NMR, crystallographic,
theoretical [rare, from some kind of modeling], to read
Otis, have you tried
show PDBHEADER
?
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the
endpoint security space. For
Angel,
No I haven't, but that's a lot easier to work with in the sketchpad than the
whole pdb file.
I'm guessing that this will suffice. If so, I'll use message call back to get
it and put it in the sketchpad.
Otis
--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com
On Mar 9,
var jsvar = Jmol.evaluate(show PDBHEADER)
On Sat, Mar 9, 2013 at 7:35 PM, Otis Rothenberger osrot...@chemagic.comwrote:
Angel,
No I haven't, but that's a lot easier to work with in the sketchpad than
the whole pdb file.
I'm guessing that this will suffice. If so, I'll use message call
var jsvar = Jmol.evaluate(jmolApplet0, show PDBHEADER)
On Sat, Mar 9, 2013 at 8:06 PM, Robert Hanson hans...@stolaf.edu wrote:
var
On Sat, Mar 9, 2013 at 7:35 PM, Otis Rothenberger
osrot...@chemagic.comwrote:
Angel,
No I haven't, but that's a lot easier to work with in the sketchpad
you mean the close link on it does not work? Check the link for that ---
it's what you would give as well. How can that be.
Bob
On Thu, Mar 7, 2013 at 12:55 PM, Otis Rothenberger osrot...@chemagic.comwrote:
Bob,
On an iPad, the JSmol console can be displayed and used. It cannot,
Bob,
The console comes up, but it is touch unresponsive. At first I thought it was
my page, but the problem exists on:
http://chemapps.stolaf.edu/jmol/jsmol/test2.htm?USE=HTML5
This is, of course, for the iPad.
I should have thought of checking the link for the code. I have it now, and I
can
works great for me. What could the problem be?
On Fri, Mar 8, 2013 at 8:49 AM, Otis Rothenberger osrot...@chemagic.comwrote:
Bob,
The console comes up, but it is touch unresponsive. At first I thought it
was my page, but the problem exists on:
In my experience, when a link is not responding it is because there is a
div element in front of it that is taking the click. sarcasmI guess
this is important HTML5 functionality because it allows spoofing of pages.
/sarcasm
On Fri, Mar 8, 2013 at 9:10 AM, Robert Hanson hans...@stolaf.edu wrote:
OK, now I'm really confused. Different iPads? I'm using iPad 3 - Version 6.1.2.
So there's no confusion, this is an iPad issue - not a general issue.
The only difference I see between:
http://chemagic.com/JSmolVMK.htm (console entered in the text field)
AND
I suppose there is no way on your iPad to investigate a JavaScript error.
On Fri, Mar 8, 2013 at 9:47 AM, Otis Rothenberger osrot...@chemagic.comwrote:
OK, now I'm really confused. Different iPads? I'm using iPad 3 - Version
6.1.2. So there's no confusion, this is an iPad issue - not a
@lists.sourceforge.net
Subject: Re: [Jmol-users] Console Question
I suppose there is no way on your iPad to investigate a JavaScript error.
On Fri, Mar 8, 2013 at 9:47 AM, Otis Rothenberger
osrot...@chemagic.commailto:osrot...@chemagic.com wrote:
OK, now I'm really confused. Different iPads? I'm
I think perhaps you could use the search entry box like this:
*
! javascript alert()
*
and get information about anything on the page. In this case, you might try:
! javascript alert(Jmol.Console.buttons['jmolApplet0_console'].setVisible)
Or something like that. Don't forget the
Bob,
I can't get to the search box on your page because of the immovable console. On
my page with my iPad calling the alert after displaying the console results in:
function (a) {a ? this.container.show();this.container.hide();this.dragBind(a);}
This was in response to:
Yes, that's the right response. This just shows that the button SHOULD run
the correct function.
grab?
You mean, Get the coordinates?
In that case, use
write PNGJ ?.png
or
write ?.zip
The resultant ZIP file will contain the original data file along with the
script.
Do we have a way of
Bob,
On an iPad, the JSmol console can be displayed and used. It cannot, however be
closed. Actually, none of the console buttons work, but ENTER on the iPad
keyboard renders it usable.
I assume I can hide the console using the document container ID. How do I
address this container in order
22 matches
Mail list logo