ignore touch on web-popup?

Hello,

is there a way to ignore touch events on a web-popup?
I dont want the user to be able to interact with it (unless i allow it). I tried overlaying it with a transparent image that discards all the touch events but i can't get it in front of the popup. So this seems to be the wrong way.

Thanks!

You could remove the listeners temporarily from whatever you don't want touched in the function that launches the web pop up; Pocket Pet Rock does that when the customization tabs are opened :)

Thanks for the quick reply! Pretty cool that it's possible to do that =) but I dont know which option parameter to set.

The docs state:

1
2
local options = { hasBackground=false, baseUrl=system.DocumentsDirectory, urlRequest=listener }
native.showWebPopup( "localpage1.html", options )
views:1451 update:2011/10/1 9:04:19
corona forums © 2003-2011