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.
IndexProgramming Questions & HelpSyntax Questions › to open a mini browser or popup in Processing
Page Index Toggle Pages: 1
to open a mini browser or popup in Processing (Read 548 times)
to open a mini browser or popup in Processing
Jul 1st, 2008, 3:33pm
 
hi,
i have an array of rectangles displayed on screen and each has a permalink associated with it.
i want to open the permalink in a new window as soon as a double click occurs on the rectangle
but it always opens after the original processing window is closed.

i am recognising the double click by using mouseEvent. getClickCount .
i am opening new window using link()

how can I open a new window while original is running?
Re: to open a new window with current window runni
Reply #1 - Jul 1st, 2008, 3:48pm
 
link("http://www.some.site", "_new"); should cause the link to open in a new window/tab.
Re: to open a new window with current window runni
Reply #2 - Jul 2nd, 2008, 5:12pm
 
oh yes it was working fine with a _new option

however I want it as a popup or a window like mini browser so that i can postion it on my map along side other objects on the map.

is there some javascript resource that will have to be used?
Page Index Toggle Pages: 1