PhoneGap

Ask Shane: PhoneGap - to JQM or not to JQM

Jeremy says,

I am building an app using PhoneGap and JQuery Mobile.

JQM loads every page via ajax and even if the header and footer are fixed it still expects every page to have them which is absolutely disgusting. If you make a change in a header then you have to do it on every single page! I have found a great article that dynamically inserts the header and footer into each page (http://blog.intechnica.co.uk/2012/03/30/persistent-navigation-jquery-mob...) but this is still annoying for sub-pages and making sure the correct tab is highlighted.

Since I am not using JQM themes, icons and its page navigation is very basic I am thinking if I even need to use it at all? I can just use JQ (not JQM) AJAX to update the relevant parts of the UI as needed.

What do you think?

Subscribe to RSS - PhoneGap