[Jmol-users] Mavericks Local Server

2013-12-12 Thread Philip Bays
This is primarily addressed to newer jmol Mac users.  For a long time Apple 
provided a web Sharing option in the Sharing control panel.  That disappeared 
a couple of OSX iterations ago.  This allowed you to use the Sites directory in 
your home account as a local network server.

This is handy since it allows you to drag and drop your web pages into the 
Sites directory during development and serve them from there.   If your public 
server is like ours, uploads can take a long time; this is instantaneous  
Furthermore, you can test your site with a variety of devices you may have on 
your local network: my wife’s Windows machine, my iMac (on which the server is 
located) and MacBook Pro, and my iOS devices, for example.  It also by-passes 
the problem of trying to launch the Java applets from your desktop.  That is, 
it works just like your external public server.

It also provides a way to serve your site locally when giving a talk.

Most of you longtime Mac users already know all this.  But, after having done 
it a number of years ago when Apple told you how to do it,  I went through the 
process of setting it up under Mavericks where the web serving option is no 
longer presented.  The following document is the best I found for a 
step-by-step how to:

https://discussions.apple.com/docs/DOC-3083

I would add only a couple additional points.  If, when you get it all set up, 
you have permissions errors trying to access the site, check the permissions 
settings on your home directory and the Sites directory.  Everyone must have 
read access for this to work.

The local host name of your new website is: YourMachineName.local. (I have a 
very complex machine name which is a pain to type in every time I want to 
access the site.) In the sharing panel, you can change that in the edit option 
without changing your machine name.  a.local works just fine.

If you do not want to go to Terminal to turn off and on the apache server, the 
following link gives you a preference pane for doing so.

http://clickontyler.com/web-sharing/

Phil

Philip Bays
Emeritus Professor of Chemistry
Saint Mary's College
Notre Dame, IN 46556
pb...@saintmarys.edu


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread sw

This msCIF stuff is excellent.

However, the scaling and vibration dont seem to be working in
the jsmol version?

Cheers

Simon

Quoting Robert Hanson hans...@stolaf.edu:

 some major improvements on the code. See
 http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.1_2013.12.11b.zip and
 http://chemapps.stolaf.edu/jmol/jsmol/images.htm



 On Tue, Dec 10, 2013 at 8:06 AM, s...@publcif.co.uk wrote:

 Thanks Bob - all is well


 Quoting Robert Hanson hans...@stolaf.edu:

  select symop=1555 is fixed.
 
  http://chemapps.stolaf.edu/jmol/zip/jmol-14.0.1_2013.12.09.zip (uploading
  now)
 
 
  On Mon, Dec 9, 2013 at 12:28 PM, Robert Hanson hans...@stolaf.edu
 wrote:
 
  should be a fixable bug.
 
 
  On Mon, Dec 9, 2013 at 4:56 AM, s...@publcif.co.uk wrote:
 
  Hi - some of my scripts no longer work with Jmol14
 
  In the first instance I've narrowed this down to
 
  select symop=1555
 
  This selects nothing even though I'm working with CIFs that
  have the symmetry information.
 
  symop=1 works OK but symops with the 'ijk' translation part fail.
 
  Has something been lost in this distribution?
 
  Cheers
 
  Simon
 
 
 
 --
  Sponsored by Intel(R) XDK
  Develop, test and display web and hybrid apps with a single code base.
  Download it for free now!
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
  ___
  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
  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
  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
 




 --
 Sponsored by Intel(R) XDK
 Develop, test and display web and hybrid apps with a single code base.
 Download it for free now!

 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
 ___
 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
 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




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] Mousewheel zoom reversed in Chrome JSmol versus Jmol 14.0.1

2013-12-12 Thread Rolf Huehne
 Hi all,

I just noticed that the mousewheel zoom is reversed in JSmol versus Jmol 
(Version 14.0.1 and 14.1.1) in Chromium 30 on Linux and Chrome 32 on WinXP:
   wheel-up   wheel-down
      --
Jmol   shrink enlarge
JSmol  enlargeshrink

In Firefox it is the same for JSmol and Jmol as for Jmol in Chrome.

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Rolf Huehne
   Hi all,

I thought that there would be still an automatic switch from Java to 
HTML5 on platforms that don't offer Java at all like 'iPad' (Info 
setting = 'use: JAVA HTML5').

Q: Is this no longer true for Jmol 14.0.1?

After the upgrade of the 'Jena3D Viewer' (http://jena3d.fli-leibniz.de) 
yesterday to Jmol 14.0.1 I asked someone with an 'iPad mini, 1st 
generation' to test it and he got the following message (excerpt):

Either you do not have Java applets enabled in your web browser or your 
browser is blocking this applet.

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol HTML5 code : remaining /div

2013-12-12 Thread Robert Hanson
should be a first half of that as well. That's the footer.


On Wed, Dec 11, 2013 at 11:59 PM, Paul Pillot 
paul.pil...@ac-orleans-tours.fr wrote:

 Hi,
 trying to debug one of my webpages that doesn’t display the HTML5 Jmol
 (without throwing any error) but that does display the Java version, I’ve
 looked at the generated code (jmolApplet0._code) and saw this for the
 canvas2D version :

 /divdiv id=jmolApplet0_2dappletdiv
 style=position:absolute;width:100%;height:100%;overflow:hidden;display:none/divdiv
 id=jmolApplet0_infotablediv
 style=width:100%;height:100%;position:absolute;top:0px;left:0pxdiv
 id=jmolApplet0_infoheaderdiv
 style=height:20px;width:100%;background:yellow;display:nonespan
 id=jmolApplet0_infoheaderspan/spanspan
 id=jmolApplet0_infocheckboxspan
 style=position:absolute;text-align:right;right:1px;a
 href=javascript:Jmol.showInfo(jmolApplet0,false)[x]/a/span/divdiv
 id=jmolApplet0_infodiv
 style=position:absolute;top:20px;bottom:0px;width:100%;height:100%;overflow:auto/div/div/divbr
 /input type=text id=jmolApplet0_query
 onkeypress=if(13==event.which){Jmol._applets['jmolApplet0']._search();return
 false} size=32 value= /br /nobrselect
 id=jmolApplet0_selectoption value=$ selectedNCI(small
 molecules)/optionoption value=: PubChem(small
 molecules)/optionoption value==
 RCSB(macromolecules)/option/selectbutton id=jmolApplet0_submit
 onclick=Jmol._applets['jmolApplet0']._search()Search/button/nobr »

 I think that the first closing div might break my design, preventing the
 display.

 The java version HTML code generated doesn’t begin by a closing tag.

 -Paul



 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 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
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
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] JSmol HTML5 code : remaining /div

2013-12-12 Thread Robert Hanson
In JSmolCore.js it reads:

if (isHeader) {
...
   s = \
...div id=\ID_appletinfotablediv\
style=\width:Wpx;height:Hpx;position:relative;font-size:14px;text-align:left\IMG\
..div id=\ID_appletdiv\ style=\z-index: + Jmol._z.header +
;width:100%;height:100%;position:absolute;top:0px;left:0px;\;
...
} else {
  s = \
../div\
..div id=\ID_2dappletdiv\
style=\position:absolute;width:100%;height:100%;overflow:hidden;display:none\/div\
..div id=\ID_infotablediv\
style=\width:100%;height:100%;position:absolute;top:0px;left:0px\\
.div id=\ID_infoheaderdiv\
style=\height:20px;width:100%;background:yellow;display:none\span
id=\ID_infoheaderspan\/spanspan id=\ID_infocheckboxspan\
style=\position:absolute;text-align:right;right:1px;\a
href=\javascript:Jmol.showInfo(ID,false)\[x]/a/span/div\
.div id=\ID_infodiv\
style=\position:absolute;top:20px;bottom:0px;width:100%;height:100%;overflow:auto\/div\
../div\
.../div;


Pretty sure those are all balanced.

Bob


On Thu, Dec 12, 2013 at 10:04 AM, Robert Hanson hans...@stolaf.edu wrote:

 should be a first half of that as well. That's the footer.


 On Wed, Dec 11, 2013 at 11:59 PM, Paul Pillot 
 paul.pil...@ac-orleans-tours.fr wrote:

 Hi,
 trying to debug one of my webpages that doesn’t display the HTML5 Jmol
 (without throwing any error) but that does display the Java version, I’ve
 looked at the generated code (jmolApplet0._code) and saw this for the
 canvas2D version :

 /divdiv id=jmolApplet0_2dappletdiv
 style=position:absolute;width:100%;height:100%;overflow:hidden;display:none/divdiv
 id=jmolApplet0_infotablediv
 style=width:100%;height:100%;position:absolute;top:0px;left:0pxdiv
 id=jmolApplet0_infoheaderdiv
 style=height:20px;width:100%;background:yellow;display:nonespan
 id=jmolApplet0_infoheaderspan/spanspan
 id=jmolApplet0_infocheckboxspan
 style=position:absolute;text-align:right;right:1px;a
 href=javascript:Jmol.showInfo(jmolApplet0,false)[x]/a/span/divdiv
 id=jmolApplet0_infodiv
 style=position:absolute;top:20px;bottom:0px;width:100%;height:100%;overflow:auto/div/div/divbr
 /input type=text id=jmolApplet0_query
 onkeypress=if(13==event.which){Jmol._applets['jmolApplet0']._search();return
 false} size=32 value= /br /nobrselect
 id=jmolApplet0_selectoption value=$ selectedNCI(small
 molecules)/optionoption value=: PubChem(small
 molecules)/optionoption value==
 RCSB(macromolecules)/option/selectbutton id=jmolApplet0_submit
 onclick=Jmol._applets['jmolApplet0']._search()Search/button/nobr »

 I think that the first closing div might break my design, preventing the
 display.

 The java version HTML code generated doesn’t begin by a closing tag.

 -Paul



 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!

 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 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
 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
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
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Mousewheel zoom reversed in Chrome JSmol versus Jmol 14.0.1

2013-12-12 Thread Robert Hanson
incredible!


On Thu, Dec 12, 2013 at 9:23 AM, Rolf Huehne rhue...@fli-leibniz.de wrote:

  Hi all,

 I just noticed that the mousewheel zoom is reversed in JSmol versus Jmol
 (Version 14.0.1 and 14.1.1) in Chromium 30 on Linux and Chrome 32 on WinXP:
wheel-up   wheel-down
   --
 Jmol   shrink enlarge
 JSmol  enlargeshrink

 In Firefox it is the same for JSmol and Jmol as for Jmol in Chrome.

 Regards,
 Rolf

 --

 Rolf Huehne
 Postdoc

 Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
 Beutenbergstrasse 11
 07745 Jena, Germany

 Phone:   +49 3641 65 6205
 Fax: +49 3641 65 6210
 E-Mail:  rhue...@fli-leibniz.de
 Website: http://www.fli-leibniz.de

Scientific Director: Prof. Dr. K. Lenhard Rudolph
 Head of Administration: Dr. Daniele Barthel
 Chairman of Board of Trustees: Dennys Klein

 VAT No: DE 153 925 464
 Register of Associations: No. 230296, Amtsgericht Jena
 Tax Number: 162/141/08228



 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 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
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
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Robert Hanson
It's still there. Should work. RCSB uses this. Proteopedia, I think.

I can check that. It all depends upon the result of

Jmol.featureDetection.supportsJava()

which depends upon

navigator.javaEnabled()

Apparently that device reports TRUE for this message.

You have just spaces between JAVA and HTML5 -- no tabs or commas or
semicolons?






On Thu, Dec 12, 2013 at 9:36 AM, Rolf Huehne rhue...@fli-leibniz.de wrote:

Hi all,

 I thought that there would be still an automatic switch from Java to
 HTML5 on platforms that don't offer Java at all like 'iPad' (Info
 setting = 'use: JAVA HTML5').

 Q: Is this no longer true for Jmol 14.0.1?

 After the upgrade of the 'Jena3D Viewer' (http://jena3d.fli-leibniz.de)
 yesterday to Jmol 14.0.1 I asked someone with an 'iPad mini, 1st
 generation' to test it and he got the following message (excerpt):

 Either you do not have Java applets enabled in your web browser or your
 browser is blocking this applet.

 Regards,
 Rolf
 --

 Rolf Huehne
 Postdoc

 Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
 Beutenbergstrasse 11
 07745 Jena, Germany

 Phone:   +49 3641 65 6205
 Fax: +49 3641 65 6210
 E-Mail:  rhue...@fli-leibniz.de
 Website: http://www.fli-leibniz.de

Scientific Director: Prof. Dr. K. Lenhard Rudolph
 Head of Administration: Dr. Daniele Barthel
 Chairman of Board of Trustees: Dennys Klein

 VAT No: DE 153 925 464
 Register of Associations: No. 230296, Amtsgericht Jena
 Tax Number: 162/141/08228



 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 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
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
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Robert Hanson
I guess that's my job today, then


On Thu, Dec 12, 2013 at 9:11 AM, s...@publcif.co.uk wrote:


 This msCIF stuff is excellent.

 However, the scaling and vibration dont seem to be working in
 the jsmol version?

 Cheers

 Simon

 Quoting Robert Hanson hans...@stolaf.edu:

  some major improvements on the code. See
  http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.1_2013.12.11b.zip and
  http://chemapps.stolaf.edu/jmol/jsmol/images.htm
 
 
 
  On Tue, Dec 10, 2013 at 8:06 AM, s...@publcif.co.uk wrote:
 
  Thanks Bob - all is well
 
 
  Quoting Robert Hanson hans...@stolaf.edu:
 
   select symop=1555 is fixed.
  
   http://chemapps.stolaf.edu/jmol/zip/jmol-14.0.1_2013.12.09.zip(uploading
   now)
  
  
   On Mon, Dec 9, 2013 at 12:28 PM, Robert Hanson hans...@stolaf.edu
  wrote:
  
   should be a fixable bug.
  
  
   On Mon, Dec 9, 2013 at 4:56 AM, s...@publcif.co.uk wrote:
  
   Hi - some of my scripts no longer work with Jmol14
  
   In the first instance I've narrowed this down to
  
   select symop=1555
  
   This selects nothing even though I'm working with CIFs that
   have the symmetry information.
  
   symop=1 works OK but symops with the 'ijk' translation part fail.
  
   Has something been lost in this distribution?
  
   Cheers
  
   Simon
  
  
  
 
 --
   Sponsored by Intel(R) XDK
   Develop, test and display web and hybrid apps with a single code
 base.
   Download it for free now!
  
  
 
 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
   ___
   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
   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
   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
  
 
 
 
 
 
 --
  Sponsored by Intel(R) XDK
  Develop, test and display web and hybrid apps with a single code base.
  Download it for free now!
 
 
 http://pubads.g.doubleclick.net/gampad/clk?id=111408631iu=/4140/ostg.clktrk
  ___
  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
  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
 




 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 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
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
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Jaime Prilusky
On Dec 12, 2013, at 6:19 PM, Robert Hanson hans...@stolaf.edu wrote:
 It's still there. Should work. RCSB uses this. Proteopedia, I think.

On Proteopedia we use MobileDetect.php ( http://mobiledetect.net ) to send back 
to the user a proper configuration based on the platform.

It seems that checking for Java can't go undetected and it generates the java 
disabled yellow applet report.

Jaim
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread Rolf Huehne
On 12/12/2013 05:19 PM, Robert Hanson wrote:
 It's still there. Should work. RCSB uses this. Proteopedia, I think.

 I can check that. It all depends upon the result of

 Jmol.featureDetection.supportsJava()

 which depends upon

 navigator.javaEnabled()

 Apparently that device reports TRUE for this message.

 You have just spaces between JAVA and HTML5 -- no tabs or commas or
 semicolons?

Just a space. But when I knew it should still work I looked deeper into 
this and found that the default JAVA HTML5 setting was overwritten 
later by JAVA in the tested case.

This leads to related questions.
In the 'Jena3D Viewer' you can request specifically Jmol or JSmol.
And this decision is also inherited by subsequent viewer openings from 
the current viewer or from a QuickSearch result from within the viewer.
Q: How should this be handled regarding the fallback setting?
(It would be quite tricky to discriminate between the different cases.)
Q: Is there a situation where HTML5 JAVA would lead to using Java 
instead of HTML5 automatically?

Regards,
Rolf

-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Platform-specific switch Java/HTML5

2013-12-12 Thread sw
Just for info, I've found JAVA detection can not be relied upon
as even if the browser reports that JAVA is present, it may not  
actually be enabled (browser blocks it).
I used to work around this by trying to run a simple jmolscript on a
timeout after I'd initialized the jmol applet and 'catching' the error.
This was fairly reliable, though depending on timing I could  
needlessly switch to HTML5 even though JAVA was present...
Currently I use mobile detection client-side (detectmobilebrowser.js)  
to choose a default (HTML5 or JAVA), and if all goes wrong, I've  
modified the
'yellow box' with a link to a function that re-initializes Jmol with HTML5...

None of this is perfect so I'd be interested to hear any other ideas  
on how to handle this sort of thing...

Cheers

Simon


Quoting Jaime  Prilusky jaime.prilu...@weizmann.ac.il:

 On Dec 12, 2013, at 6:19 PM, Robert Hanson hans...@stolaf.edu wrote:
 It's still there. Should work. RCSB uses this. Proteopedia, I think.

 On Proteopedia we use MobileDetect.php ( http://mobiledetect.net )  
 to send back to the user a proper configuration based on the platform.

 It seems that checking for Java can't go undetected and it generates  
 the java disabled yellow applet report.

 Jaim
 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of  
 AppDynamics Pro!
 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 Jmol-users mailing list
 Jmol-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-users




--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Jmol14 scripts

2013-12-12 Thread Robert Hanson
OK, this should all be fixed.

http://chemapps.stolaf.edu/jmol/zip/jmol-14.1.1_2013.12.12.zip

Latest fun:

http://chemapps.stolaf.edu/jmol/jsmol/images.htm




On Thu, Dec 12, 2013 at 10:28 AM, Robert Hanson hans...@stolaf.edu wrote:

 specifally cartoons...hmm...


 On Thu, Dec 12, 2013 at 9:47 AM, Otis Rothenberger 
 osrot...@chemagic.comwrote:

 Bob and Phil,

 I'm seeing the same thing with pdb files on the ISU server. Load 1smd
 results in colors all over the screen.

 Otis

 --
 Otis Rothenberger
 o...@chemagic.com
 http://chemagic.com




 On Dec 12, 2013, at 6:27 AM, Philip Bays pb...@saintmarys.edu wrote:

 Bob:

 In this release, testing jsmol here and at your site, 1blu and 1d66 are
 goofy.  The colors are all over the screen.


 On Dec 12, 2013, at 12:35 AM, Robert Hanson hans...@stolaf.edu wrote:




 --
 Rapidly troubleshoot problems before they affect your business. Most IT
 organizations don't have a clear picture of how application performance
 affects their revenue. With AppDynamics, you get 100% visibility into your
 Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics
 Pro!

 http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk
 ___
 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
 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
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
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET,  PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users