Hi Angel,
I thought it should be able to do that. But can you point me to the place in
the docs about how to do that? I can at least implement that.
I think it should speed things up when the structures are big. It's not so much
the loading of the files as the calculations that would be deferred.
Thanks!
Jim
On Jul 9, 2015, at 11:42 AM, Herráez Sánchez Ángel <angel.herr...@uah.es> wrote:
> Hi Jim
>
> JSmol can indeed display an image that will be replaced by the model when
> clicked on. That's a standard feature. However, that method still requires to
> load the JSmol core code when the page loads, which probably takes much more
> time and data than loading the model file, and so will not make much of a
> difference. For that, no need for changes in JSmol.
>
> It is also possible and quite easy to write Javascrit code that will replace
> an image, a link, etc. with the JSmol object injected in the page at that
> (onClick) moment. But again, the JSmol.min.js code should normally have been
> loaded in advance (I don't know if it is possible to call and load an
> additional JS file when requested, later after page load)
>
> Another option is to use Lightweight JSmol, which loads really fast although
> it has limited functionality and rendering.
>
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
=====================================
Jim Hu
Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users