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)
   pop-ups
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: pop-ups  (Read 198 times)
leth


pop-ups
« on: Jun 27th, 2004, 6:51pm »

Hi  
 
I am new to processing.
Is it possible in an easy way to make pop-ups like you do with javaScript?
 
What I need is to open a link in a new window and remove it's menubar and toolbar. (And if it is possible to set its size and location).
 
Thanks, Leth
 
 
toxi_
Guest
Email
Re: pop-ups
« Reply #1 on: Jun 28th, 2004, 8:38pm »

you can't open browser popups directly with the processing syntax, though you can call a javascript from your sketch to do exactly that (just like you'd do it from flash):
 
Code:
void mouseReleased() {
  link("javascript:window.open('blah.htm','blah','width=400,height=400,too lbar=false,status=false');");
}
 
Pages: 1 

« Previous topic | Next topic »