Re: [Jmol-developers] Bug in JSmol-JSme integration

2014-09-07 Thread Johannes | edumol.fi

Nope, 2D canvas still doesn't load if there is a molecule on the 3D side.

It works if both sides are empty, but if there is a molecule it stays 
blank at first.

But it activates when I move the mouse cursor above the 2D-sketch.

I made a short screencast about the problem: http://youtu.be/7whok1PAd40

Johannes


On 8.9.2014 5:10, Robert Hanson wrote:

I believe I have that fixed. Check the latest zip file:

http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.7_2014.09.07b.zip

(uploading now)

​


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk


___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Bug in JSmol-JSme integration

2014-09-07 Thread Robert Hanson
I believe I have that fixed. Check the latest zip file:

http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.7_2014.09.07b.zip

(uploading now)

​
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol.resizeApplet

2014-09-07 Thread Robert Hanson
If you have two applets, you need to be sure they have different names.
That could cause this sort of thing.

On Sun, Sep 7, 2014 at 9:04 PM, Robert Hanson  wrote:

> only the latter [w,h], I think.
>
> On Sat, Sep 6, 2014 at 6:27 PM, Angel Herráez 
> wrote:
>
>> Bob, are both syntaxes supported?
>>
>> Jmol.resizeApplet(appletid, w, h)
>>
>> Jmol.resizeApplet(appletid, [w,h])
>>
>> I only had the 2nd documented
>>
>> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Functions#resizeApple
>> t
>>
>>
>>
>>
>> --
>> Slashdot TV.
>> Video for Nerds.  Stuff that matters.
>> http://tv.slashdot.org/
>> ___
>> Jmol-developers mailing list
>> Jmol-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>
>
>
>
> --
> 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
>
>


-- 
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
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol.resizeApplet

2014-09-07 Thread Robert Hanson
only the latter [w,h], I think.

On Sat, Sep 6, 2014 at 6:27 PM, Angel Herráez  wrote:

> Bob, are both syntaxes supported?
>
> Jmol.resizeApplet(appletid, w, h)
>
> Jmol.resizeApplet(appletid, [w,h])
>
> I only had the 2nd documented
> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Functions#resizeApple
> t
>
>
>
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
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
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Jmol.resizeApplet

2014-09-07 Thread Herman Bergwerf
Thank you very much for the fix!
These are indeed unrelated issues.

I add the applet to the Dom using getapplethtml and jmol.setdocument(0)
The resizing does work on my desktop and it works on my tablet for small
molecules. But it fails for macromolecules (seems totally unrelated but it
happens)
The jmol wrapper divs are not duplicated, only the inner 
When I delete the old one manually, everything works just fine.
Is the canvas reference stored as object? (In this case, I'm probably
constructing jsmol twice producing this error)

On Sep 7, 2014 12:53 AM, "Robert Hanson"  wrote:
>
> Sorry - that was in response to your other message, about multitouch.
>
> I am not seeing any issue with Jmol.resizeApplet(appletid, width, height)
>
> Looks to me like you do not have an applet with id "JSmol".
>
> These are two unrelated issues, right?
>
>
>
>
> On Sat, Sep 6, 2014 at 5:51 PM, Robert Hanson  wrote:
>>
>> I think I found it. It will be part of 14.3.7 and 14.2.7, probably later
this weekend.
>>
>>
>> On Sat, Sep 6, 2014 at 5:14 PM, Herman Bergwerf 
wrote:
>>>
>>> On my tablet, Jmol.resizeApplet(JSmol, [w,h]) creates a new canvas
insead of resizing the existing canvas causing JSmol to become useless.
>>> The console also told me this:
>>> Uncaught TypeError: Cannot read property 'processTwoPointGesture' of
undefined
>>>
>>> Strangely, everything is alright in the current stable version of my
application: http://molview.org which uses a slightly older version of
JSmol.
>>>
>>>
--
>>> Slashdot TV.
>>> Video for Nerds.  Stuff that matters.
>>> http://tv.slashdot.org/
>>> ___
>>> Jmol-developers mailing list
>>> Jmol-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>>>
>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
> 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
>
>
>
--
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


Re: [Jmol-developers] Bug in JSmol-JSme integration

2014-09-07 Thread Johannes | edumol.fi

Bob, have you had any time to check this JSmol-JSme-integration?
This newest version has the same issue: 
http://chemapps.stolaf.edu/jmol/jsmol/jsmetest.htm


Returning from 3D to 2D is broken.

Jmol-14.0.8 is the first version where I have found this error.

Best regards
Johannes


On 3.7.2014 19:24, Edumol wrote:

Sorry Bob. Family holidays and Pearl Jam conserts took my time.

Ok, but I tested those sites (14.2.0) and

jsmol/jsmetest2.htm // works perfectly
jsmol/jsmetest.htm // works perfectly

Only jsmol/jsmetest.htm has the problem in the 3D --> 2D switch.

Johannes


6/28/2014 1:38 AM, Robert Hanson kirjoitti:

Johannes?


On Thu, Jun 19, 2014 at 4:43 PM, Robert Hanson > wrote:


please check jsmol/jsmetest2.htm and jsmol/jsmetest.htm in the
14.2.0 distribution. Not working there, either?
​




--
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



--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers




--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft


___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers


--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers