Bob,

Beautiful! What can I say? You are awesome, man.

So, on my side, I tested the following commands that you just enabled on
Firefox and Chrome:
"load ?.pdb"
"write FILE ?.pdb"
"write JPG ?.jpg"
"write PNG ?.png"

They all work on both browsers. I did not have much luck on IE. But, do we
care? Only dummies use IE. Do not waste your time on configuring these
features for IE. Anyone who uses IE is most probably not going to work with
JSmol.

So, my advice, would be to focus your energy and add new features that work
in Firefox and Chrome. IE is just a different beast and it is only going to
bug you down and cause other issues. You can always add an in-built warning
sign (like java reminds users that no java is installed!) that warns IE
users that JSmol is not configured for IE and that it only works with
Firefox and Chrome. That way you can focus your energy on adding additional
features to JSmol in lieu of IE taking your valuable time. Just some
thoughts.

Thanks very much, Bob!
You made my day (I am in the process of moving to JSmol and do away with
Jmol altogether on my webpage).

Amjad







On Mon, Sep 16, 2013 at 7:27 PM, Robert Hanson <[email protected]> wrote:

> That's also now in place at
> http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm
>
> If you have trouble, clear your cache and try again. I had to do that to
> get Firefox to move to the latest upload.
>
> Uploading of local files:
>
>      load ?      # displays a dialog over the applet
>      x = load("?")   # allows moving file data straight into a variable
> instead of loading it as a model.
>
> Downloading to the local drive:
>
>      write FILE ?          # the original file data
>
> Still to get working:
>
>      write MOL ?
>      write XYZ ?
>      write PDB ?
>
>
> Bob
>
>
>
> On Mon, Sep 16, 2013 at 5:54 PM, Robert Hanson <[email protected]> wrote:
>
>> OK.
>>
>> I have uploaded changes to Jmol that allow JSmol/HTML5 to read and write
>> files to a local drive.
>>
>> Whew! That was tricky -- text, binary, zip, gzip, pngj, xml -- I checked
>> as many as I could find. Please test on a variety of platforms:
>>
>> http://chemapps.stolaf.edu/jmol/zip/jmol-13.3.6_2013.09.16.zip
>>
>> top center column -- "local file" read write
>>
>> Bob
>>
>> ___JmolVersion="13.3.6_dev_2013.09.16"
>>
>> bug fix: chains improperly selected in JSmol/HTML5
>> bug fix: JSmol/HTML5 not allowing drag-drop or file loading from a local
>> drive.
>> bug fix: JSmol/HTML5 not allowing WRITE FILE ?
>>
>> bug fix: platformSpeed persists     but appears unreadable after loading
>> a state
>> bug fix: JavaScript version InputStreamReader not processing non-UTF data
>> correctly
>> bug fix: second reading of older PNG files with embedded script fails
>>          due to improper png file caching
>>
>> new feature: set drawFontSize // defaults to 14.0
>>
>>
>>
>>
>> --
>> 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
>
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to