Bugs item #990971, was opened at 2004-07-14 11:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=990971&group_id=23629

Category: Applet
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Bob Hanson (hansonr)
Assigned to: Miguel (migueljmol)
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
 

 




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=990971&group_id=23629


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to