|
Author |
Topic: hyperlinking (Read 1876 times) |
|
benelek
|
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
|
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
|
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
|
|
|
|
|