From: Otis R. <osr...@ch...> - 2014-01-10 23:07:21
|
Rick, In placing this false definition, I used the following from the JSMol docs as a guide: "A script to run when the Jmol object has finished loading. Note that indicating a script here is not necessary; with Jmol-JSO, unlike with Jmol.js, you can start making script calls to Jmol as soon as the Jmol wrapper object has been created in JavaScript; there is no need to wait for Jmol object initialization to have completed." I'm assuming that once I define it on a page, it's global for the entire page. Continuing with my assumptions here, I assume you could invoke this in a .js script as soon as JSmol.min.js is loaded. I manage my site with Dream Weaver, and global changes to multiple documents is an option. Could you do something like that at your site? The above behavior is a wild guess on my part (i.e. insertion using .js file after JSmol.min.js loads). I'd test this approach before any global site changes. Otis -- Otis Rothenberger ot...@ch... http://chemagic.com On Jan 10, 2014, at 3:55 PM, Spinney, Richard <rsp...@ch...> wrote: > I can help you with #1. The following makes it go away: > > <script type="text/javascript"> > Jmol._alertNoBinary = false; > jmolApplet0 = Jmol.getApplet("jmolApplet0", Info); > </script> > > Otis > > Thanks Otis, > > Is there a way to set this globally in one of the js scripts, I have hundreds of jmol objects edited already (only thousands more to go J). It would be much easier that way if possible. > > Thanks, Rick > -------------------------------------- > Dr. Richard Spinney > Department of Chemistry and Biochemistry > The Ohio State University > 120A Celeste Laboratory > 120 West 18th Ave > Columbus, Ohio 43210 > > email: rsp...@ch... > > Phone: (614) 247 - 6847 > Fax: (614) 292 - 1685 > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users |