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

Pages: 1 
   Author  Topic: hyperlinking  (Read 1876 times)
benelek

35160983516098 WWW Email
hyperlinking
« on: Apr 3rd, 2003, 2:55am »

anybody know if it's possible (without using complex java-javascript cooperation,) to put a hyperlink in an applet? ie, u click on some hotspot area in the applet and the browser takes u to a url.
 
-jacob
 
fry


WWW
Re: hyperlinking
« Reply #1 on: Apr 3rd, 2003, 3:35am »

use one of the java applet methods:
 
getAppletContext().showDocument(URL url);
 
getAppletContext().showDocument(URL url, String target);
 
the 'target' option lets you specify the name of a frame.
 
note that you'll get weirdness (prolly a NullPointerException) if you try to do this within the p5 environment, but it will work from inside a browser.
 
carlos giffoni
Guest
Email
Re: hyperlinking
« Reply #2 on: Aug 5th, 2003, 2:10pm »

Can anyone please show an example? I cant figure out how to do this.
 
thanks
Carlos
 
REAS


WWW
Re: hyperlinking
« Reply #3 on: Sep 17th, 2003, 12:44am »

you can now use the link() function included in processing. more information here: http://proce55ing.net/reference/link_.html
 
Pages: 1 

« Previous topic | Next topic »