Navigation

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

    dd8zc

    @dd8zc

    0
    Reputation
    4
    Posts
    312
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    dd8zc Follow

    Posts made by dd8zc

    • Disorder with confirm dialog

      Hej,
      I have somehting like this:

      navigator.vibrate([10,20,30,40]);
      booleanAnswer = confirm('Do you have an answer?');  
      

      Unfortunatly navigator.vibrate will start AFTER die confirm dialog. I want it the other way around, any idea how to first vibrate and than ask the question?

      posted in Developer Corner
      dd8zc
    • How to imageflip

      Sadly I can’t use imageflip like i did on javascript sites, but auto-complete know this keyword. Anyway, this doesn’t work:

      document.getElementById(id).imageflip.src = "path/to/new.img"
      

      but this do:

      document.getElementById(id).src = "path/to/new.img"
      

      Does anyone have a good idea how to flip an image on click?

      posted in Developer Corner
      dd8zc
    • How to prevent display from switching off

      How can I prevent mobile phones from switching off the screen? I cant find any information in documentation or any result to this in google. Is that even possible?

      posted in Developer Corner
      dd8zc