|
Author |
Topic: proce55ing <-> html (Read 745 times) |
|
binarypimp
|
proce55ing <-> html
« on: Jan 2nd, 2003, 5:46pm » |
|
is there way to make calls from proce55ing to javascript and vice versa?
|
|
|
|
Glen Murphy
|
Re: proce55ing <-> html
« Reply #3 on: Apr 25th, 2003, 11:34am » |
|
Don't forget that MacIE won't work with this properly. !@#
|
|
|
|
arielm
|
Re: proce55ing <-> html
« Reply #4 on: Apr 25th, 2003, 5:19pm » |
|
it is possible to achieve 2 ways communication between a processing applet and javascript, check the "how to import 'netscape.javascript' within p5" thread for the solution: http://proce55ing.net/discourse/yabb/board_Syntax_action_displa_y_num_1049901181.html it has been tested succesfully on pc with ie5+ (both the old miscrosoft VM and the sun JRE) and moz... i would be gratefull if someone on mac + moz could test it! notes: - i'm not counting on mac ie5 to work - sending an url (e.g: "javascript:foo()") from the applet to the html host won't work under the old microsoft VM (more than half of the users on earth) - sad but true: the netscape.javascript solution is working better on ie than on moz...
|
Ariel Malka | www.chronotext.org
|
|
|
|