all pages in one html ?

all pages in one html ?

Hi All,

I am trying to do a phonegap app. 
what is best practices for jqm ?

keep all pages (data-role=page) in 1 html file and javascripts in one js file and traverse pages with $.mobile.changePage or keep all pages in separate html files and do a window.location.href ?


in android window.location.href actualy opens a new activity which looks ugly.

also window.location.href stops all transitions for me (though transition is not a must for me in this application !)

I would appreciate the pundits telling me the best practices.

thanks in advance and regards