Navigation

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

    StevieC

    @StevieC

    0
    Reputation
    11
    Posts
    742
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    StevieC Follow

    Posts made by StevieC

    • RE: Multi language?

      Thanks chaps

      posted in Onsen UI
      S
      StevieC
    • Multi language?

      Does anyone have any tips as to how to make an app multi lingual?

      posted in Onsen UI
      S
      StevieC
    • RE: Using fonts with Onsen UI

      @Roozbeh-Farhadi That’s great. Thanks.

      posted in Onsen UI
      S
      StevieC
    • RE: Using fonts with Onsen UI

      Thanks,
      I had forgotten that it is CSS that handles it.

      But, I presume. not link to them externally (e.g. Google fonts)? As it’s an app.

      I found this at https://css-tricks.com/snippets/css/using-font-face/

      @font-face {
      font-family: 'MyWebFont';
      src: url('webfont.eot'); /* IE9 Compat Modes */
      src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('webfont.woff2') format('woff2'), /* Super Modern Browsers */
          url('webfont.woff') format('woff'), /* Pretty Modern Browsers */
          url('webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
          url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
      }
      

      Is that the kind of thing?

      posted in Onsen UI
      S
      StevieC
    • Using fonts with Onsen UI

      How would I go about using my own fonts with Onsen UI?

      posted in Onsen UI
      S
      StevieC
    • RE: popping ( poppage() ) back to the top in one go

      Excellent. Thanks chaps.

      posted in Onsen UI
      S
      StevieC
    • popping ( poppage() ) back to the top in one go

      I have taken the user through a few pages using pushpage() and then, at the final page, they have the option of saving what they have chosen. Thereby negating the need to go back through the previous pages. Can I ‘jump’ straight back to the homepage?

      posted in Onsen UI
      S
      StevieC
    • RE: Unable to target div id in ons-template

      Hi Fran,
      I’ve changed the ‘init’ to ‘show’ and that appears to have fixed it.

      posted in Onsen UI
      S
      StevieC
    • RE: Unable to target div id in ons-template

      Hi Fran,
      Yes. That appears to be it. Thanks.

      It has thrown up another problem though.

      Using the function: 'document.addEventListener(‘init’, function(event) {'
      to handle each page loading works fine within the Monaca IDE (fires each time a page is loaded) but when run on my mobile phone (Android 4.1.2) it only fires the once (on app loading). I have included Crosswalk to see if that would help but it has not.

      Any advice?

      posted in Onsen UI
      S
      StevieC
    • Unable to target div id in ons-template

      I am modifying the ‘Splitter animations with navigator’ tutorial (http://tutorial.onsen.io/?framework=vanilla&category=Community tutorials&module=splitter_navigator)

      I have added <div id=“userBoards”></div> to one of the templates. When that template is loaded I call some JS to insert some text into the #userBoards div. My JS does not seem to be able to detect the div in question though.

      Please advise.

      posted in Onsen UI
      S
      StevieC