Hello again, Tzontonel > Yes works because I removed some code for jquery.
Yesterday I got intermitent behaviour on page/panel reload: sometimes the applet, sometimes the yellow box. Now it seems to work everytime. > The Jmol.js is the same version. If there are some incompatibility why works > fine in Internet > Explorer and in Firefox don't work? You're right. If there was a javascript conflict, it would show up in both browsers. Or not, the browsers are very special sometimes. At least, I see no error in the javascript console. It may be a problem in the applet finished loading before or after the page finishes loading. I suspect that your jQuery code is waiting for the page to finish loading, but usually that happens without waiting for the applet to finish loading. Another possible origin: if you are hiding the "crystal structure" panel using for example CSS display=none (I haven't checked), then there is a known different behaviour between browsers: IE keeps the applet object, while firefox destroys it and will have to recreate it next time you open the panel. Maybe that's the difference, Firefox will be slower in finishing with the applet and the suspected interference with jQuery will show up. But I have no experience with jQuery :-( > P.S. This is a page with the same applet (without jquery) and works great: > http://ramandata.freehostia.com/minerals/jmol/calcite_structure.html Right. But the difference may not be in jQuery: in this page the applet is not hidden and redisplayed. If you can, try to have all the jQuery code in your page #1 but let the structure panel be open from the beginning. Finally, I' d suggest that this kind of questions are better posted in jmol-users, not jmol- developers :-) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
