Dear all,
This is probably easy for many of you. What is the simplest way to incorporate 
alternative text to JSmol, that will display while it's loading or if by some 
reason it fails to load? Something like the alt attribute in img tabs (but the 
canvas doesn't have the alt attribute, so maybe this is not trivial)

And similarly, how can I put a tooltip text that displays as the mouse hovers 
over the JSmol display? Something like the title attribute (which also doesn't 
exist for canvas).    

Thanks in advance for your help!
Luciano
 

      De: Robert Hanson <hans...@stolaf.edu>
 Para: "jmol-users@lists.sourceforge.net" <jmol-users@lists.sourceforge.net> 
 Enviado: Miércoles, 23 de diciembre, 2015 6:47:07
 Asunto: Re: [Jmol-users] Bug in 12/21 build?
   
sounds very familiar. I did move two lines of code relating to bsColixSet and 
did not test dots.

On Tue, Dec 22, 2015 at 8:00 PM, Eric Martz <ema...@microbio.umass.edu> wrote:

  Hi Bob,
 
 The good news is that the 12/21 build almost passed all my tests in 
FirstGlance.
 
 Incidentally, while JSmol reports itself as 14.4.1_2015.12.21, Jmol_S reports 
itself as 14.5.1_2015.12.16.
 
 So far I only noticed one place that both JSmol and Jmol_S hiccup. It only 
happens once, the first time I do a certain operation in FirstGlance, and only 
if I do a certain sequence. Sounds like an initialization problem?
 
 This problem occurs in the 12/21 and 12/20 builds, but NOT in the 12/15 build.
 
 Before I spend more time on this (and trying to make something where you can 
reproduce this), maybe the info below is enough?
 
 Jmol_S freezes with no message in the Java or Jmol Consoles.
 
 JSmol says with set debugscript on
 color dots none;
 script ERROR: TypeError: this.bsColixSet is null J.shapespecial.Dots set color
 
 and generates
 
 TypeError: this.bsColixSet is null try/catch path:
 0 function (b,d)
  args[0]=TypeError: this.bsColixSet is null
  args[1]=function (){a.instantialize(this,arguments)}
 1 JS.ScriptEval.executeCommands(a,b)
  args[0]=false
  args[1]=true
 2 JS.ScriptEval.evaluateCompiledScript(a,b,c,e,f,p)
  args[0]=false
  args[1]=false
  args[2]=true
  args[3]=false
  args[4]=null
  args[5]=false
 3 JS.ScriptManager.evalStringWaitStatusQueued(a,b,c,e,f)
  args[0]=JSON
  args[1]=set echo middle center; font echo 100 sanserif bold; color e...
  args[2]=+scriptStarted,+scriptStatus,+scriptEcho,+scriptTerminated
  args[3]=false
  args[4]=false
 4 JV.Viewer.evalStringWaitStatusQueued(a,b,c,g,f)
  args[0]=JSON
  args[1]=set echo middle center; font echo 100 sanserif bold; color e...
  args[2]=+scriptStarted,+scriptStatus,+scriptEcho,+scriptTerminated
  args[3]=false
  args[4]=false
 5 JV.Viewer.evalWait(a,b,c)
  args[0]=JSON
  args[1]=set echo middle center; font echo 100 sanserif bold; color e...
  args[2]=+scriptStarted,+scriptStatus,+scriptEcho,+scriptTerminated
 6 JV.Viewer.scriptWait(a)
  args[0]=set echo middle center; font echo 100 sanserif bold; color e...
 7 JU.GenericApplet.scriptProcessor(a,b,d)
  args[0]=set echo middle center; font echo 100 sanserif bold; color e...
  args[1]=null
  args[2]=1
 8 scriptWait(a,b)
  args[0]=set echo middle center; font echo 100 sanserif bold; color e...
  args[1]=null
 9 function ()
  args[0]=set echo middle center; font echo 100 sanserif bold; color e...
  args[1]=null
 --------------------
 -Eric
 
------------------------------------------------------------------------------

_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users





-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department 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


------------------------------------------------------------------------------

_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


  
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to