- This topic has 18 replies, 4 voices, and was last updated 11 years, 2 months ago by support-octavio.
-
AuthorPosts
-
BryanBudelonMemberI have one problem of how utilizing two tabBar.
When use one excels the other. It were like two walls. I tried to use some function click to hide multipage of another tabBar, but without results.
Anyone have any idea of something that can be done?
Thanks everyone!
support-michaelKeymasterCan you post more details, such as a small project that demonstrates what you are trying to implement, screenshots, etc.?
Also what version of mobione are you using?
BryanBudelonMemberYes.
Image of screen main.
Each flap is referring to a screen. However, depending on the order of items of MobiOne, one of multipages always excels.
Obs: I’m utilizing two multipages also.I’m utilizing last version of MobiOne.
BrandonMemberYes, you can do this. The trick is to hide the other on the multipage widget on page changing.
For example,
on page changing for mutipage1 would hide multipage2 and show multipage1,
on page changing for multipage2 would high multipage1 and show multipage2
BryanBudelonMember@CincyPlanet wrote:
Yes, you can do this. The trick is to hide the other on the multipage widget on page changing.
For example,
on page changing for mutipage1 would hide multipage2 and show multipage1,
on page changing for multipage2 would high multipage1 and show multipage2Exactly. Show one, while hide other.
I tried to using prePageTransition and postPageTransition, but no results.Someone would me help? If specify show some code/script, i post here.
BrandonMemberIf you click on the multipage widget you will see the on page changing property.
then use the (this is off the top of my head)
$(‘#m1-yourform-multipage1’).css(‘visible’,’hidden’);//to hide ‘visible’ top show
BryanBudelonMember@CincyPlanet wrote:
If you click on the multipage widget you will see the on page changing property.
then use the (this is off the top of my head)
$(‘#m1-yourform-multipage1’).css(‘visible’,’hidden’);//to hide ‘visible’ top showYes, i tried do so.
But not necessary use the attribute newPage or oldPage?
Because I need to check which page the user will access, and then verify if is MultiPage1 or multipage2.
BrandonMemberno, once they click the tab it will activate the correct multipage widget. The only problem I could forsee (without tsting) is if they click on the same page that is active on the hidden tab. If I get a chance later, if you dont figure it out, I will see if I can put together a demo.
BryanBudelonMember@CincyPlanet wrote:
no, once they click the tab it will activate the correct multipage widget. The only problem I could forsee (without tsting) is if they click on the same page that is active on the hidden tab. If I get a chance later, if you dont figure it out, I will see if I can put together a demo.
I understand your logic, and was one of the ways in which I tried to do, but without results.
I needed a solution ASAP. However, I can not demand this. I’ll go trying to do, and if you can create some example i the thank.
support-michaelKeymasterCincy is doing a great job providing snippets and guidance. I hate to be a dick but my two cents is this is a bad ui design… But you are free to layout the ui as you choose. The issue you are encounter is a direct result of trying to overlap a multipage widgets which is generally not advised. Maybe step back and rethink your ui in light of conventional mobile UI patterns. If you insist on mulitple tabbars and multipage widgets on a single screen I’m sure there is a way with some clever javascript and css but it requires working against convention which is now outside of scope of our product support.
BrandonMemberWayne brings up a good point. Getting it to work would be trial and error, and who knows how stable cross-platforms. You could easily do a button tabs and add a cool fade transition to the next page which would have the same layout with different content.
I dont really think about the layout or anything when Im trying to help, just trying to supply the tips or code needed to get it done. Maybe I should rethink this strategy.
BryanBudelonMemberI understand the point of view of you. But what would be a good solution for this?
BrandonMemberI would do the button tab thing. It will still look the same with just a slightly different transition.
BryanBudelonMemberNot to create another topic … could someone explain to me how to use the “newPage” and “oldPage” on the “On Page Changing” and “On Page Change”?
And also, is possible use “phoneui.gotoScreen” in Run JavaScript of MobiOne?
support-octavioMemberHi BryanBudelon,
>Not to create another topic … could someone explain to me how to use the “newPage” and “oldPage” on the “On Page Changing” and “On Page Change”?
You can learn about those variables in this doc: http://www.genuitec.com/mobile/docs/tabbedNavigation/tabbedNavigation.html#page_change_events>And also, is possible use “phoneui.gotoScreen” in Run JavaScript of MobiOne?
Yes, it’s very doable. -
AuthorPosts