Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. fearnowrath
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    fearnowrath

    @fearnowrath

    0
    Reputation
    6
    Posts
    253
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    fearnowrath Follow

    Posts made by fearnowrath

    • App works in Android after Monaca build but only shows the splash screen on iPhone

      Hello,
      I have built an app and built it for both ios and android. The one I built with android using monaca works fine on my android phone. but the ipa file i built for iOS via monaca with the same code only shows the splash screen and nothing else. I just used the default monaca splash screen and logos for this dev version. What could be the issue? https://i.diawi.com/5VNtdH here is the link to the ipa file if it helps.

      Any help would be appreciated!

      thanks

      posted in Monaca Tools
      fearnowrath
    • RE: Loading pages using jQuery and preventing destroying of pages

      @Fran-Diox WOW thats great, thanks. I think i will have to use that.
      For the material design ripple effect when the button is tapped, do you already have any css classes for that? If so, could you please link me to the page?
      Also, for my situation that i mentioned earlier, do you think adding a custom tabbar would be the right thing to do rather than using the ons-tab?

      I also wanted to add something quickly here, a little unrelated to the topic but still. Is it possible to make the device back button back button(<ons-back-button>) both work for page’s loaded/pushed via either <ons-page>'s load method or <ons-navigator>'s pushpage method? For ons-page(https://onsen.io/v2/api/js/ons-page.html) there is onDeviceBackButton method but no <ons-back-button> option to go back right? And for ons-navigator, there is no option to make the device back button work right?

      thanks a lot for your help so far.

      posted in Onsen UI
      fearnowrath
    • RE: Loading pages using jQuery and preventing destroying of pages

      Hi Fran,
      Thanks for your response.
      I found why that is happening . Actually we need the tabbar on all pages, even on pages that are not linked in the tab buttons. So, whenver I open any page by clicking on the splitter menu, but not on the tabbar button, the page doesn’t work. The page will work only if i click on the tabbar and one of the pages from the ons-tab buttons is opened. Why is this happening? what is the solution to this?
      Right now, I feel as if making custom tabbars without using ons-tab is the only solution, but I dont want to do that because the design might be inconsistent. What do you suggest to be the ideal way to do it by using ons-tab ?

      posted in Onsen UI
      fearnowrath
    • RE: Loading pages using jQuery and preventing destroying of pages

      Thanks Fran,
      Now, I have another problem. I am not able to select anything on a page with a tabbar and a splitter on it. Why is that? Everything is fine. The content is loading and I have both splitter and tabbar on the same page. However, I cannot do anything with the content on that page, ie if there is a text, i cannot select it, if i embed an iframe there, i can do nothing with the iframe(click and scroll etc. are all disabled in that iframe), why is that? This only happens when tabbar is present on the page. If the tabbar is removed, i can select the text and scroll iframe etc, just like on any normal webpage.

      Also, right now, I am appending the tabbar using jquery, because our project needs both tabbar and splitter on every page. but even if i use the tabbar html directly on the page, without appending via jquery, i am not able to select.

      Could you please help me in this case?

      posted in Onsen UI
      fearnowrath
    • RE: Loading pages using jQuery and preventing destroying of pages

      Thanks for your response.
      Actually what i mean is, only in some cases, i dont want the pages to be destroyed. I have loaded content using <object> on some pages and when I click on some other page and then come back to the first one, the <object> loads the remote content again. Is it possible to make it not load it in some cases? Also I found about the load functions, they are the functions of <ons-splitter-side>. It also allows passing “options” but what parameters can be passed in the options isn’t mentioned in the docs. https://onsen.io/v2/api/js/ons-splitter-side.html

      posted in Onsen UI
      fearnowrath
    • Loading pages using jQuery and preventing destroying of pages

      Hello,
      I just picked up onsenui and i will be asking a handful of questions very soon. I want to ask a few questions on the same topic but I am not sure if it meets the guidelines of the community?

      My question is - how can i prevent destroying of pages when another page is opened?
      I need to load certain pages of our website into the app via <object> tag. In some cases, I dont want the <object> to reload when another page(lets say search page) is opened and user switches back to the original page. How can i do that?

      Also, can I get a list of js functions that are used for loading pages etc? eg, I only see onclick=“fn.load(‘home.html’)” in the examples but how can I load the page using jquery instead of pure javascript?

      Also, when should I use the ons-navigator to switch to another page and when should i use the onclick on <ons-button>s to switch to another page? What is the suggested approach for this?

      (Sorry but would it be possible for the community moderators to check this post. I saw some replies on other latest posts but not on this one :(. Would really appreciate any help.)
      thanks

      posted in Onsen UI
      fearnowrath