YYY
YYY

Reputation: 21

jQuery Mobile Multi-page structure with Panel navigation

Right now I have multiple pages inside one document, and I want to control navigation between the pages using jQM 1.3's Panel widget. Problem lies with the fact that as of now, Panels have to be inside Pages.

Is there some way to do this without having to duplicate the same panel navigation over and over inside each page?

Upvotes: 2

Views: 1424

Answers (1)

seberenimer
seberenimer

Reputation: 123

I use jQuery.View from the javascript mvc librairy for client side templating it works great. Take a look at "From File" section, it allows you write a template and bind data to it. You could import the Panel widget in each page.

Upvotes: 1

Related Questions