facebook

Custom Pop-up alerts?

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #343669 Reply

    kikootwo
    Participant

    Hello!

    I was hoping someone could give me a nudge in the right direction with making it so when someone taps on an image in this list of images, there is a semi transparent panel, with an ‘X’ in the top right corner to close it, that displays some information about the image clicked.

    I understand this is a little picky. I could even make due with the built in ‘on click’ ‘popup alert’ if I could make it not say “Alert” at the top of the message. I don’t want to scare the people! just inform them. If there is any way of doing this, please help! I have exhausted all of my knowledge.

    Thanks in advance!
    -Ben

    #343684 Reply

    support-michael
    Keymaster

    Hi Ben,

    If you are developing a native ios or android app with mobione the alert dialog can be customized using the Cordova notification api: http://docs.phonegap.com/en/3.0.0/cordova_notification_notification.md.html#Notification
    Use this api from a Run JavaScript action that presents a customized alert with the title and content of your choice.

    #343700 Reply

    kikootwo
    Participant

    This is awesome! More progress than I’ve made in a couple of days! I follow essentially what is going on, but is there any way to call in an image to display on the left part of the alert box?

    Thank you so much 😀

    -Ben

    #343703 Reply

    support-michael
    Keymaster

    >is there any way to call in an image to display on the left part of the alert box?

    Not that I know of using the cordova/phonegap alert api. Some users have had success using 3rd party widgets such as jquery UI. YMMV. 3rd party widget lib integration is beyond our level of support.

    #343732 Reply

    kikootwo
    Participant

    okay, so doing some research of my own, I’ve hit a dead end. There is a way to do image to string conversion. something about bit64, do you have any idea to work that to show the image I need?

    #343743 Reply

    kikootwo
    Participant

    For any other users interested, I very successfully used the kQuery described here, http://api.jquerymobile.com/popup/ from within a simple html box in mobi one!

    #351185 Reply

    Darshan Patel
    Participant

    @kikootwo can you please elaborate on how did you do that, i really want to use jqueryMobile in my app, but mobione doesn’t allow me to do it the way i want.

    Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Custom Pop-up alerts?

You must be logged in to post in the forum log in