I'd like to share some thoughts on Jmol page development and sharing.
While I'm stipulating Mac and iPad in the subject, I suspect other
operating systems offer similar possibilities. All of the thoughts
expressed here involve Internet connections, but please bear with me.
1) If the Jmol models on your page have a display/action constancy,
putting them in iFrames drawing from a single model.htm on your server
may be an option for you. Keep in mind that cross domain communication
with this single model.htm via a URL query string is perfectly legal.
That is to say, you can always order a reload of the model in an iFrame
from your content page with new Jmol script instructions AND javascript
instructions. This latter is possible because of the JavaScript command
in Jmol script.
This is not for everyone, but some may find it useful. During
development, your content page will be double-clickable with the models
showing. Caveat: You must be connected to the Internet for the models to
show. Sounds crazy, but I find it very useful.
The next two thoughts are dedicated to this discovery on my part:
Complete Web page development and maintenance on an iPad is just flat
out fun! In addition, point two below suggests a neat way to share
usable htm/Jmol files.
2) There are a whole generation of apps that finally deal with the
insanity of using a music purchasing app as the only way to move files
around on an iPad!!! I think the Stratopherix FileBrowser is a work of
art, but there are others. Basically, it's a true Finder. At a touch, I
can transfer files to/from any computer in my house (Winows or Mac), ISU
VPN, CheMagic FTP, Dropbox, and Gdrive. I mean at a touch.
Local htm files, including the type described in 1 above open in an App
browser. This includes, and I'm not making this up, htm files on Gdrive.
In other words, if I have a self contained htm content page (styles,
javascript, jquery all in the content page), then because it's a local
file in my Gdrive folder, it works inside FileBrowser - models and all.
Again the caveat: You must be connected to the Internet to see the models.
Keep in mind that while the Gdrive viewing will not work via Gdrives
magic shared URL, it will work with colleagues or students with whom you
are sharing an actual Gdrive folder. In this latter case, all parties
have a local copy of the htm file(s) on their computers. The magic URL
is out of the picture.
3) The only missing component for development is a code editor. For this
I use Textastic. It's a code editor (with browser) that also has File
Finder features - just not as powerful as item 2 (File Browser).
Basically, it has only FTP, Dropbox, and WebDAV. For a site that
involves FTP upload, Textastic would be a self contained site
maintenance tool.
These procedures do require Internet connectivity for complete
functionality, but they really make my life easy with respect to working
locally on content and seeing the results locally before I move content
to server. And I can do it all on an iPad with very little pain.
Otis
--
Otis Rothenberger
[email protected]
http://chemagic.com
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users