FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   proce55ing <-> html
« Previous topic | Next topic »

Pages: 1 
   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?
 
fry


WWW
Re: proce55ing <-> html
« Reply #1 on: Jan 2nd, 2003, 6:00pm »

Dimitre did this for his spectrum analysis example, might want to check that out and his brief explanation for a few pointers:
http://proce55ing.net/discourse/yabb/board_examples_action_disp_lay_num_1039211211.html
 
pollux

WWW Email
Re: proce55ing <-> html
« Reply #2 on: Apr 25th, 2003, 1:45am »

the link is wrong, look here:
 
http://proce55ing.net/discourse/yabb/board_Contribution_Automat_ed_action_display_num_1045167802.html
 
(fry's one gives me an error)
 

pollux | www.frwrd.net
Glen Murphy

WWW Email
Re: proce55ing <-> html
« Reply #3 on: Apr 25th, 2003, 11:34am »

Don't forget that MacIE won't work with this properly. !@#
 
arielm

WWW
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
Pages: 1 

« Previous topic | Next topic »