I think

window["j2s.lib"].console = null

should do it because in j2sjmol.js we find:

Console.consoleOutput = function (s, color) {
    var o = window["j2s.lib"];
    var console = (o && o.console);
    if (console && typeof console == "string")
        console = document.getElementById(console)
        // console)
    if (!console)
        return false; // BH this just means we have turned off all console
action
...



If you want to start it again, just set that either to a div name or the
div itself.






On Tue, Apr 15, 2014 at 12:28 PM, Otis Rothenberger
<[email protected]>wrote:

> Bob,
>
> It's just a very convenient place to write menus on the fly (and other
> info), so I don't want to disable it. I now see that if I stay away from
> calls to Jmol while a menu is showing, my problem of menus being appended
> with logging goes away.
>
> I could do this with div's over the Jmol window, but again that info
> screen is so convenient.
>
> Otis
>
> --
> Otis Rothenberger
> [email protected]
> http://chemagic.com
>
>
>
>
> On Apr 15, 2014, at 1:07 PM, Robert Hanson <[email protected]> wrote:
>
> You mean what you see with
>
> jmolApplet._showInfo(true)
>
> ?
>
> Info.console="none"   will disable that completely before anything starts;
>
> I think after things are going you would have to do something like:
>
>
> window["j2s.lib"].console = null;
>
> That should disable it.
>
> Bob
>
>
>
> On Mon, Apr 14, 2014 at 11:55 PM, Otis Rothenberger <[email protected]
> > wrote:
>
>> Bob,
>>
>> Is there a way to turn off error reporting to the Jmol.setInfo screen?
>>
>> Otis
>>
>> --
>> Otis Rothenberger
>> [email protected]
>> http://chemagic.com
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor 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
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor 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
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to