We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
link() (Read 397 times)
link()
May 14th, 2008, 10:45pm
 
I want the applet to open a page in the same url. For example I have:link("http://www.processing.org", "_new")

how is the syntax that sets the target to _self or something?

thanks
Re: link()
Reply #1 - May 15th, 2008, 7:59pm
 
I haven't used it yet, but I read in the manual: "Links to a webpage either in the same window or in a new window."
I understand that without parameter, it is on the same window, and with "_new", it is in a new window.
Re: link()
Reply #2 - May 15th, 2008, 8:25pm
 
Thanks!  But I found out...instead of "_new" the syntax is "_same".  Thanks
Page Index Toggle Pages: 1