This is an update on attempts to put JSmol/JSME into a notebook that uses
HTML5 local storage. The update list includes old and new features:
1) The notes page has been changed to a next/previous slide show of 50
slides. If you're into metaphors translate this to a 50 page notebook or a
50 slide presentation. These slides (pages) are, of course, saved in Local
Storage.
2) As per the original effort, there is basic Rich Text formatting in page
view. More sophisticated HTML can be edited in source view.
3) 50 memory locations have been created for models. Each saved model is
assigned a name of the form MODEL1, MODEL2, etc. If a model is saved as
MODEL5, the word MODEL5 in the notes can be selected and converted to a
link that will open the model kit pop-up and load the stored MODEL5. Models
in memory can be slide show reviewed by clicking a Review link. Review
displays models with MODEL# names.
4) 50 memory locations have been created for JSME structures. The JSME
editor has been set up for quick toggle between structure and reaction
mode. This feature is manages exactly like the 50 models in item 3 with the
assigned names DRAW1, DRAW2, etc. Clicking one of the subsequent DRAW#
links opens the drawing (structure or reaction) in the pop-up JSME screen.
NOTE: These loadings are very fast. This is all local memory.
5) Back-up has been made a bit more sophisticated. The whole schmear
(notes, models, drawings) is converted to JSON file. A given JSON file can
be loaded in a another browser by cut paste.
6) Cute Feature 1: An entire formula can be selected and subscripted with
one button click.
7) Cute Feature 2: Local Storage usage can be measured with a button click.
8) Editing buttons can be hidden so the screen looks more like a typical
slide show.
9) The essential components can be packaged into a folder and run locally,
I have been pleasantly surprised at how well this works. Part of this that
file:/// is treated as a single domain, so the notes and model kit are
always in the same domain - server or locally. The other part of this is
that Bob has all of this stuff working locally - amazing.
10) A compound name can be converted to a Resolver Lewis structure image in
the notes at the click of a button. Items 3 and 4 may actually make this
obsolete - not sure.
11) Non-Feature: I have a lot of work to do on error catching and code
clean up, but the latest version is at http://chemagic.com/notes
I have no idea about cross browser and cross platform issues with Local
Storage. I'm not even worrying about MSIE any longer, but I think things
are OK with Chrome, Safari, and FF. Local Storage is still fairly new, but
I think there's real potential here.
Otis
PS
If you looked at this page before, you need to clear cache AND click the
Erase All button. The Local Storage structure is completely different.
--
Otis Rothenberger
o...@chemagic.com
------------------------------------------------------------------------------
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-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users