On Feb 2, 2011, at 11:57 AM, Robert Hanson wrote:

> Jonathan,
>
> 'bout time you guys got some serious snow.
Actually, we probably overreacted.  Most of the snow went south.   
Milwaukee, Madison and places between here and there are apparently  
buried.  We've just got a lot of blowing snow.  That said, it looks  
great.

> We missed it here. Break between January interim and Spring  
> semester. Hey, Monday I get to go out to Microsoft Research and give  
> a talk about Jmol. Fun, eh? (Not to Microsoft -- they're just  
> providing the space for a conference on publishing.)
Cool.  What conference exactly?
>
> I did slip that semicolon in somewhere along the way there. So if  
> this is your problem, maybe somehow your JavaScript is stripping all  
> the newline characters. Not a good idea. Are you perhaps splitting  
> on \n and forgetting to put that back in? Something's amiss  
> there.... I don't think it's a problem inside Jmol.
That's an idea.  I don't remember doing that, but I only recently came  
back to this code after about 4 months off...I'll check.  It makes  
some sense because what we actually want to do is store the script as  
a hidden div in the page, which can get saved on the server and thus  
restore user changes across openings of the page.  This  means that I  
did have some massaging to make it work OK in a div.  I think I  
replaced all the \n with <br/>.  The idea being that they would then  
be replaced with \n before passing back to the applet.  I'm pretty  
sure I didn't strip the \n from the backup string version, but I will  
check.

Jonathan
>
> Bob
>
>
> On Wed, Feb 2, 2011 at 11:43 AM, Jonathan Gutow <gu...@uwosh.edu>  
> wrote:
> Bob,
>
> Now that SourceForge is semi-functional again and we have a snow day
> here in Oshkosh, I got an updated copy of Jmol.
> Jmol 12.0.30 seems to work fine.  Did you change anything in the
> script engine between 12.0.28 and 12.0.30?  I didn't see a note about
> fixing the misplaced semicolon, although I see it is correct now.
>
> Jonathan
> On Jan 30, 2011, at 7:20 PM, Robert Hanson wrote:
>
> > Jonathan, can you send me one of those zip files?
> >
> > On Sat, Jan 29, 2011 at 8:39 PM, Jonathan Gutow <gu...@uwosh.edu>
> > wrote:
> > I'm looking for suggestions of things to look for.  Within the SAGE
> > math package I use a state script generated by the applet that I
> > have saved as a string to recreate the view the user had in a
> > previous applet in a new one.  The problem is that everything but
> > the final moveto of the _set PerspectiveState() call is being
> > executed properly when I pass this string to the applet.  If I copy
> > the string into the console of an active applet everything works
> > exactly as expected.  Passing the string as the script when the
> > applet is initialized doesn't work.  Any ideas what I should look
> > for?  I'm using 12.0.28 and this worked with all the 11.X versions.
> > I haven't tried backtracking the 12.X versions.  Do I need to do
> > this?  I don't think the misplaced semi-colons Bob and I discussed
> > earlier are the problem.
> >
> > Jonathan
> >                         Dr. Jonathan H. Gutow
> > Chemistry Department                                gu...@uwosh.edu
> > UW-Oshkosh                                          Office:
> > 920-424-1326
> > 800 Algoma Boulevard                                FAX:920-424-2042
> > Oshkosh, WI 54901
> >                http://www.uwosh.edu/facstaff/gutow
> >
> >
> >  
> ------------------------------------------------------------------------------
> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > Finally, a world-class log management solution at an even better
> > price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > February 28th, so secure your free ArcSight Logger TODAY!
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > Jmol-developers mailing list
> > Jmol-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jmol-developers
> >
> >
> >
> > --
> > Robert M. Hanson
> > Professor of Chemistry
> > St. Olaf College
> > 1520 St. Olaf Ave.
> > Northfield, MN 55057
> > http://www.stolaf.edu/people/hansonr
> > phone: 507-786-3107
> >
> >
> > 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
> >  
> ------------------------------------------------------------------------------
> > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > Finally, a world-class log management solution at an even better
> > price-free!
> > Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > February 28th, so secure your free ArcSight Logger TODAY!
> > http://p.sf.net/sfu/arcsight-sfd2d
> > _______________________________________________
> > Jmol-developers mailing list
> > Jmol-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>                          Dr. Jonathan H. Gutow
> Chemistry Department                                 gu...@uwosh.edu
> UW-Oshkosh                                           Office: 
> 920-424-1326
> 800 Algoma Boulevard                                 FAX:920-424-2042
> Oshkosh, WI 54901
>                  http://www.uwosh.edu/facstaff/gutow
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better  
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
>
> -- 
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> 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
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better  
> price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers

                          Dr. Jonathan H. Gutow
Chemistry Department                                 gu...@uwosh.edu
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/facstaff/gutow






------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to