Bugs item #990971, was opened at 2004-07-14 11:04 Message generated for change (Comment added) made by hansonr You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=990971&group_id=23629
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Applet Group: None >Status: Closed Resolution: None Priority: 5 Submitted By: Bob Hanson (hansonr) Assigned to: Bob Hanson (hansonr) Summary: Opera loadInline/textarea issue Initial Comment: This is not a Jmol bug, but something that might show up as one by users who are not aware of a difference between Opera and NN/IE. The issue will show up specifically when a user tries to use jmol.loadInline() starting with text in a textarea that has been generated statically or via a JavaScript document.write() command. For the record.... The difference with Opera (7.5) is that while both NN and IE have always thrown out an initial new-line character at the beginning of textareas (presumably to avoid empty first lines), Opera does not do this. All MOL files need to have a character on the first line, and that line MUST begin directly after the <textarea> tag, not on the next physical line. Similarly, XYZ file text MUST begin directly after the <textarea> tag or they will not function properly in Opera. For example, use: <textarea>3 comment C 1 2 3 O 1 3 4 H 1 4 5 </textarea> not <textarea> 3 comment C 1 2 3 O 1 3 4 H 1 4 5 </textarea> currently, and example of this is at http://www.stolaf.edu/people/hansonr/jmol/inline and http://www.stolaf.edu/people/hansonr/jmol/inline/i2.htm Bob Hanson ---------------------------------------------------------------------- >Comment By: Bob Hanson (hansonr) Date: 2006-03-06 22:06 Message: Logged In: YES user_id=1082841 a good observation that will catch unsuspecting web developers ---------------------------------------------------------------------- Comment By: Miguel (migueljmol) Date: 2004-07-14 11:15 Message: Logged In: YES user_id=1050060 Interesting ... I would think that Opera is correct and that IE/NN have incorrect behavior. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379133&aid=990971&group_id=23629 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
