English 中文(简体)
申请人。 窗口的变化内容
原标题:Appcelerator. Change content of window

I am developing an iOS app in Appcelerator. I got four tabs. How can I change the content of the window when the user clicks a special button or navbar title?

例如,如果把表1放在开放窗口1.js上,那么我如何打开窗户——2.js在塔顿点击的表1上打开窗? 我更愿意不使用看法,因为我希望窗口的内容能够保存档案。

感谢所有投入!

问题回答

第二天,我与土库ium一米楼一起进入了类似的路障。 Titan。 UI.Tabgroup拥有称为现役的财产 这非常有益。

var my_other_view = Ti.UI.createView({params});
var my_tab_group = Ti.UI.createTabGroup({params});
my_tab_group.activeTab.open(my_other_view);

当然,这部法典相当简短,但希望能引导你朝着正确的方向走下去,以便你能够在你看来执行所期望的行为!

活性Tab. open(IMHO)的冷却物之一是,在OS,将自动地将丁顿放在标题栏上,以便用户能够回复到先前的意见/联系。





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签