something in <script type="text/javascript" src="/skins/common/wikibits.js?97"><!-- wikibits js --></script>
is disabling checkboxes. Bob Nicolas Vervelle wrote: > Hi again, > > I tried modifying Jmol.js by adding alert() calls at the beginning of > _jmolCbClick() and _jmolClick(). > Nothing happens for checkboxes but it works for all other components > > See http://wiki.jmol.org/extensions/Jmol/Jmol.js and > http://wiki.jmol.org/index.php/Sandbox > > I am lost... seems a Javascript problem but I don't understand what > > Nico > > Angel Herráez a écrit : > >>On 30 Apr 2008 at 15:14, Nicolas Vervelle wrote: >> >> >>>Does someone know what's wrong with the generated HTML ? >>> >>> >>The generated HTML looks OK, and in fact it works when copied locally. >>What I see is that, when put in the wiki page, the checkbox-associated >>Jmol commands are not being passed to the applet: the console history >> >> >>shows the actions of jmolLink, jmolButton, jmolMenu, but not those of >>jmolCheckbox. I'd say it's a problem in the MediaWiki extension. >> >> > The problem is that I don't see how this can be possible. > The Jmol extension is called to create the HTML + JavaScript, not > after that : > * when a page is requested, MediaWiki constructs the page on the > server (using Jmol extension) and sends HTML + JavaScript to the browser > * the browser receives only this (HTML + JavaScript) and nothing else > (Jmol extension is not involved at all) > > So, if the generated HTML is good, then the extension is good. > > I am really lost with this one. > > Nico > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >Don't miss this year's exciting event. There's still time to save $100. >Use priority code J8TL2D2. >http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > >------------------------------------------------------------------------ > >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson 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 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

