From: Robert H. <ha...@st...> - 2013-11-02 18:11:30
|
With jQuery, you can very easily set buttons to do this on the current page without reloading the page. Here is an example: http://chemapps.stolaf.edu/jmol/jsmol/simpleOpt.htm Bob On Fri, Nov 1, 2013 at 9:07 PM, adriano ceccarelli < adr...@un...> wrote: > > Il giorno 02/nov/2013, alle ore 00.37, Angel Herráez ha scritto: > > Adriano, > > One single page that is reloaded with one of the options, Java or HTML5, > provided in the "search" part of the url. > Example: > http://biomodel.uah.es/en/scale/?use=Java > http://biomodel.uah.es/en/scale/?use=HTML5 > > To implement in a pre-existing site... You can try to use Jmol2.js to do > the conversion without rewriting all your source code. It will most likely > work if your site is not complex. > > > I tried this already but couldn't make it to work yet. I need to start > over and be more careful about what goes where, I think > > But the "switch" will need a bit of edition to be implemented. > > > Hmmmm.....I doubt I can make it. Can still give a try though. I tried to > compare the two pages at the links above but cannot find where are the java > commands (call to applet, buttons, etc etc) I am used to, that the initial > script should switch onto. It all looks javascript..... > Is there a reference guide to study before trying? > > Thanks > > Ciao > > Adriano > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk_______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- 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 |