Jack88PD
Jack88PD

Reputation: 615

jQuery Mobile How to simulate data-rel="dialog"

Is there a way to simulate the data-rel="dialog" attribute to show a page as a dialog page? I can't use this one because I use the button for the LogIn/LogOut model, and this one doesn't work if I don't insert the data-ajax="false" attribute. But using this I cannot use the ajax-based data-rel attribute.

So I need a trick to create a dialog page without using the dialog attribute on the anchor link.

Thanks

Upvotes: 0

Views: 2243

Answers (1)

Phill Pafford
Phill Pafford

Reputation: 85348

Hopefully in the next iteration of jQM ( 1.2 ) you could use the Popup, You can currently test this out in the pre-release builds:

enter image description here

or a form login

enter image description here

Upvotes: 2

Related Questions