Angel, I found one problem with your proposal. See below.
Jonathan On Jan 28, 2011, at 2:28 PM, Angel Herráez wrote: > Thanks, Oliver, for the report > > Pending further testing, this is my interpretation so far: > > 1. > This is not an issue with browser handling of the applet tag, but with the > object tag (I stand > corrected here on my previous comment, after re-reading my own conclusions > left in the wiki > page last month :-) ) > > 2. > There is a discussion on the web and many reports of websites suddenly > failing due to > Chrome's ~recent change of behavior over the object tag > http://code.google.com/p/chromium/issues/detail?id=62076 > which they say (a) will not be reversed --considered a spec, not a bug, (b) > will propagate to > Safari as it is updated > > The issue is with object tags using a classid='java: parameter. The cure > is to remove this > parameter (apparently the removal does not damage other browsers) > > 3. > The reason the problem is only seen in Macs is due to the old browser > sniffing code in > Jmol.js --which incidentally I discovered last December, don't really > remember why-- > * So that Mac/Chrome is read as Mac/Safari and both get an object tag. > * While Win/Safari and Win/Chrome are not detected and so get (as a fallback) > an applet > tag. > * Win/Firefox and Linux/Firefox get object, but Mac/Firefox is set to use > applet (don't know > why). None of them give trouble. > More details at the Wiki, > http://wiki.jmol.org/index.php/Jmol_Applet/Browser_Support > > 4. > My proposal (partially implemented in my v.2 page modified Jmol.js, which I > would propagate > to the official Jmol.js and the browser testing page in the Jmol website): > a. Chrome is detected before Safari (although maybe that's not necessary). Or > better, reduce > browser sniffing to the (old) exceptions that were known not to work and > leave most as > feature detection. > b. Both Chrome and Safari will get the object tag, irrespective of the OS, as > other modern > browsers are getting. > c. Set Mac/Firefox to do the same as other Firefoxes (Anyone knows of any > problems with > Mac/Firefox that make the applet tag more adequate than the object tag?) Just tested this. Your version 2 page does not work with FF 3.6+ & MacOS 10.6. No Jmol appears in the first box. Apparently, MacOS FF does do something different. I will also test some of the other combinations this weekend. Jonathan > d. Most importantly, adopt the new syntax for the object tag, so avoiding the > problem seen in > Mac/Chrome and a future problem in Mac/Safari > > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers Dr. Jonathan H. Gutow Chemistry Department gu...@uwosh.edu UW-Oshkosh Office: 920-424-1326 800 Algoma Boulevard FAX:920-424-2042 Oshkosh, WI 54901 http://www.uwosh.edu/facstaff/gutow ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers