How do I set $.mobile.defaultPageTransition = 'slide';
Where do I place the following, I know that it is sensitive to its location in the load order of JS in the app.
$(document).bind("mobileinit", function() {
if(/ipad|iphone|ipod/i.test(navigator.userAgent.toLowerCase())){
$.mobile.defaultPageTransition = 'slide';
$.mobile.defaultDialogTransition = 'none';
}
});
currently on IOS i get the white blank page before a transition, I like the android one and know you set that to none, I wanted to do that for IOS or at least force the slide on all my transitions without change the default parameter