Page 1 of 2

Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 5:31 am
by Agon Bina

Hi guys, thanks for updating to JQM 1.2!

I am wondering if there is any way to change a line of code somewhere and make all the current 'dialog' boxes/pages convert to the new JQM popup(as seen here http://jquerymobile.com/demos/1.2.0-a...) and keep the components as they are?

Image

This is the current dialog, so I would like to just change the appearance to the new popup and keep the components and all the rest services as they are right now.

Thanks!


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 2:36 pm
by Kateryna Grynko

Hello,
We will look for solution. I will update as soon as possible.


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 4:13 pm
by Agon Bina

thanks, will be waiting


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 6:36 pm
by Kateryna Grynko

Unfortunately it's impossible in current Tiggzi. Popup windows load dinamically by Ajax. That's why you cannot do it this way. We will provide this in the nearest future.


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 7:19 pm
by Agon Bina

I see ... I can probably implement it on my own by handling the rest calls and the data mapping in JS/ jquery ... just need to spend a lot of time trying to figure it out lol


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 7:41 pm
by Emmz

I Have implemented it in my project. Works great !
For simplicity. I put the popup html code in a panel component.
Then used JS to open it.
Actually I'm using it for android Menu button. The html code is custom for each screen so I get a unique menu for each screen!

Not slow or buggy at all. tested in Android 2.3.5
Chrome and FF.


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 7:52 pm
by Agon Bina

yeah the problem is that i have about 10 popups in my app and a rest service in each one of them. I have to map the data using js and jquery which I am somewhat familiar with, but it will take me some time to fully implement it.

It def. works much better and faster than the old dialog ...


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 7:58 pm
by Emmz

I hear ya.. I'm doing the same thing. I pass an array to LS and have code in the rest svc. to parse and use the same one for all.
Then I can store to send later if no cel svc. etc.

ALSO. Look into SimpleDialog. Its paste in custom js and CSS. Works really well!


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 8:24 pm
by Agon Bina

simpleDialog looks very cool! thanks


Change dialog to the new JQM 1.2 popup?

Posted: Fri Dec 07, 2012 10:04 pm
by Emmz

ur welcome... Have fun!