From: timothy d. <mol...@ma...> - 2004-02-02 15:47:36
|
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=20 > script() has gone. >=20 > using opener would help to use a JavaScript function in an JavaScript=20 > generated window (I don't know any other way to define a JavaScript=20 > function as content of a JavaScript written window). > Regards, Jan >=20 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 --=20 timothy driscoll molvisions - molecular graphics & visualization <http://www.molvisions.com/> usa:north carolina:wake forest |