Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-12 Thread Robert Hanson
Is that behaving differently from when you go to MSIE 8 mode within MSIE 9? On Tue, Jun 12, 2012 at 3:08 AM, Angel Herráez wrote: > More testing, now with MSIE 8 (WinXP) > > > http://chemapps.stolaf.edu/jmol/object/test.htm > > The applets displays fine, but the image does not (broken image icon

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-12 Thread Angel Herráez
More testing, now with MSIE 8 (WinXP) > http://chemapps.stolaf.edu/jmol/object/test.htm The applets displays fine, but the image does not (broken image icon) > http://chemapps.stolaf.edu/jmol/object/test2.htm "show info" ==> the info pane is put below the applet (which does not hide). Also, I

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Robert Hanson
the quotes are correct. That's not it. Either jmol = "jmol" ...buttons created here, before creation of applet... jmol = Jmol.getApplet(jmol, Info) or, if no preliminary controls, you can just do this: jmol = Jmol.getApplet("jmol", Info) This is fixed. Paul, it was just that we were assignin

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Paul Pillot
Le 11 juin 2012 à 21:10, Angel Herráez a écrit : > Testing in IE9 (64-bit, Win7): > > The IE console reports a javascript error at line 31, > jmol = Jmol.getApplet( "jmol", Info) that's because is should be : jmol = Jmol.getApplet( jmol, Info) (without quotes) --

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Angel Herráez
Testing in IE9 (64-bit, Win7): > http://chemapps.stolaf.edu/jmol/object/test.htm First try: applet loads, white background, no atoms. Reload: same. Click on image link: the image is displayed (black bkg, molecule etc) The IE console reports a javascript error at line 31, jmol = Jmol.getApplet("j

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Paul Pillot
Thanks Angel ! (I don't know why messages didn't go to the list yesterday) I've tried it at my school today with their IE8 and discovered exactly the same behavior as you described. But I've tried it with other images such as the ones on this page http://librairiedemolecules.education.fr/molecule

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Robert Hanson
THAT's the idea. So that is the same file -- .PNG -- loaded two different ways? Angel -- saw your note. Do these work with MSIE 8? http://chemapps.stolaf.edu/jmol/object/test.htm http://chemapps.stolaf.edu/jmol/object/test2.htm ? I Bob On Sun, Jun 10, 2012 at 5:55 AM, Paul Pillot < paul.p

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Angel Herráez
Hi Paul > http://librairiedemolecules.education.fr/molecule.php?idmol=336 Very nice! It works in my Firfox 13 / WinXP but IE8 does not even display the images (why is it so?) On IE8, if I am quick to catch the link (which is located to the bottom-right of the image space) and click on it, th

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Rzepa, Henry S
> > A good modification of JmolApplet.js would be to make it so that if the > option "Jmol or image" is given and the script is as simple as "script > " or "load " and '' is a PNG or PNGJ or JPG file, then we > automatically show the image. That would certainly be easy to set up. > Im

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Robert Hanson
[Still very interested in the original question] Henry, see Jmol 12.3.29, just released. Unfortunately, Jmol 12.3.28 was producing bad JMOL and PNGJ files, but now that that is fixed I have also added the below-mentioned capability. Thus, a PNG file that is PNGJ format will be loaded automatically

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Paul Pillot
Might be relevant to this discussion, I'm setting up a script to replace a Jmol png image (with state included) by an applet when user hovers the image and click on a link then displayed. The first attempt can be seen there : http://librairiedemolecules.education.fr/molecule.php?idmol=336 Try hove

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-11 Thread Robert Hanson
On Sat, Jun 9, 2012 at 10:37 AM, Rzepa Henry wrote: > > On 9 Jun 2012, at 16:03, Robert Hanson wrote: > > > I have been asked by a publisher with whom I am discussing replacing > static images with HTML5/WebGL instances, to ensure that the minimal > behaviour always defaults to the replaced ima

Re: [Jmol-users] Jmol/HTML5/WebGL

2012-06-09 Thread Rzepa Henry
On 9 Jun 2012, at 16:03, Robert Hanson wrote: > I'm wondering what additional JavaScript-based 3D molecular visualization > libraries people are interested in linking Jmol to. These could be > HTML5-only, WebGL-only, or some combination. It might not be terribly > difficult to implement that. >

[Jmol-users] Jmol/HTML5/WebGL

2012-06-09 Thread Robert Hanson
I'm wondering what additional JavaScript-based 3D molecular visualization libraries people are interested in linking Jmol to. These could be HTML5-only, WebGL-only, or some combination. It might not be terribly difficult to implement that. Interest? Ideas? Bob -- Robert M. Hanson Larson-Anderso