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
Angel Herráez a écrit :
The problem is that I don't see how this can be possible.
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.
* when a page is requested, MediaWiki constructs the page on the server
So, if the generated HTML is good, then the extension is good.
I am really lost with this one.