- This topic has 6 replies, 3 voices, and was last updated 10 years, 2 months ago by Darshan Patel.
-
AuthorPosts
-
kikootwoParticipantHello!
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
support-michaelKeymasterHi 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.
kikootwoParticipantThis 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
support-michaelKeymaster>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.
kikootwoParticipantokay, 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?
kikootwoParticipantFor 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!
Darshan PatelParticipant@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.
-
AuthorPosts