I’ve created an app with jQuery Mobile. Now I want to have a desktop browser version of the same app, and I’m unable to figure out how to best do that.
Is there a way I could reuse the data-role=”button”, data-role=”collapsible”, data-theme=”b”, data-transition=”fade” etc that creates the jQuery mobile widgets?
Thanks for any help.
edit:
In jqm the accourdion is created using data-role=”collapsible”, but in jQuery UI it seems like I must call a .accordian() function. Similar, in the jqm I could easily create a popup using a data-role=”dialog”, but in jqui I need to do a .dialog(). And yes, I’m a newbiw here, so I might have got it all wrong!
u can use it as it is.. no need to change those.