I have now mounted a replica of the pages relevant to the pop-up problem on my personal website, where they will be available until the weekend (I'm short of space). The url is <http://www.q7design.demon.co.uk/jmolmockup/jslibrary/>. Mac users will see that, in contrast to the real pages on <http://jmol.sourceforge.net/jslibrary/> the pop-ups - particularly the second one (the first one works for me on sourceforge) work on Safari and Firefox! As expected, the js doesn't work on Opera 9, although the applet loads.
Why? I'm not sure. There is only one change in the source code and that is making an explicit reference to the pop-up an index.html file in the pop-up code: <a href="." onClick="window.open("../demo/jssample0/index.html", "jssample", "width=250,height=350,screenX=10,screenY=10,left=10,top=10"); return false;"> rather than omitting it, as in the original, as I couldn't get the original version to work as I couldn't fathom the site structure. I couldn't find an index.html file - perhaps the pop-up is index.htm or default.html or something. I would have thought it is bad style to give that sort of url in a javascript function, but I really can't see how it would screw things up. Still, my version works on Macs, the official one doesn't. Incidentally there are other aspects of these pop-ups that are bad: 1. The size specification makes it impossible to resize on FF, so one can't read the text. Other browsers ignore this. 2. Using FF developers tools alerts one to the fact that the pages don't validate. I don't think it's relevant to the problem, but I think it's bad form for high-power coders not to take the care to write valid html. 3. It's not necessary any more to put the stuff in an html form. Finally can't someone rewrite the first line "Information on this page relates to the upcoming release Jmol v10 release that is currently in beta test." to read "Information on this page relates to the current Jmol v10.2 release." with a mention of 11 if relevant? The whole page could be rewritten in a less evangelical/nannying tone too. Just tell people the score. If they want to screw up they will. Saying things are 'evil' is neither appropriate nor informative. I'll do it myself if someone will mount it. David ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

