How to change native.showWebpopup () orientation ??

When device orientation change then how to change webPopup() orientation ?? [import]uid: 11428 topic_id: 8659 reply_id: 308659[/import]

In your build.settings file you can specify what orientations your app supports, e.g.

settings = {  
  
 orientation = {  
 default = "portrait",   
 supported = { "landscapeLeft", "landscapeRight", "portrait", "portraitUpsideDown" },  
 },  
}  

http://developer.anscamobile.com/content/configuring-projects#Orientation_Support_iOS
[import]uid: 8196 topic_id: 8659 reply_id: 31159[/import]

Hi Tim,

Thanks for reply

Sorry But my Question is that , i am open one index.html file

local options = { hasBackground=false, baseUrl = system.ResourceDirectory, urlRequest=listener }
native.showWebPopup( 170,244,448,600, “html/index.html”,options)

So, when orientation is change at that time how to set this html file orientation.

I am try this code

http://developer.anscamobile.com/forum/2010/12/16/webpopup-2-way-communication-and-changing-position-and-size-if-possible

But not working…

any other way to solve this. [import]uid: 11428 topic_id: 8659 reply_id: 31179[/import]