at 4.28p EDT on 2004 February 02 Monday Jan Reichert said:
> Hi Miguel,
> you are right, after restarting Mozilla on Windows XP the problem with
> script() has gone.
>
> using opener would help to use a JavaScript function in an JavaScript
> generated window (I don't know any other way to define a JavaScript
> function as content of a JavaScript written window).
> Regards, Jan
>
you can use javascript to write javascript. for example:
document.write("function myFunc() {opener.myFunc();}");
but I agree - opener.myFunc should work from the messageCallBack and
pickCallBack parameters.
regards,
:tim
--
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users