I forward here a reply from Rolf, which he couldn't send directly to the list.
Thanks to him and to Angel.
Luciano
----- Mensaje reenviado -----
De: Rolf Huehne <rolf.hue...@leibniz-fli.de>
Para: Luciano Abriata <luciano_abri...@yahoo.com>
Enviado: Martes, 26 de enero, 2016 21:10:00
Asunto: Re: [Jmol-users] Alt text and tooltip text?
On 01/26/2016 08:34 PM, Angel Herráez wrote:
Luciano, I currently cannot post to the 'jmol-users' list. Please
forward my answer to the list so that others can also see it.
As a simple solution you could place a '<div>' element with the same ID
as the upper level JSmol '<div>' element (of the same size) into the
same location where JSmol will be inserted. This could contain an error
message which would remain there if something fails in a very early
stage. Once the '<div>' element will be replaced by a JSmol '<div>'
element, the JSmol Javascript library should already provide error
messages in most cases.
----- Example -------------
target element id: "jsmol_location"
Jsmol id: "jmolApplet0"
<div id="jsmol_location">
<div id="jmolApplet0_appletinfotableDiv" style="width:300px; height:
300px; background-color: salmon; font-weight: bold; font-size: 200%;
padding: 1em;">
ERROR: JSmol should have been loaded here!
</div>
</div>
--------------------------------
Regards,
Rolf
--
Rolf Huehne
Postdoc
Leibniz Institute on Aging - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany
Phone: +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail: rhue...@leibniz-fli.de
Website: http://www.leibniz-fli.de
Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Burkhard Zinner
VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228
------------------------------------------------------------------------------
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