Hacker Newsnew | past | comments | ask | show | jobs | submit | skol101's commentslogin

Yep, so you just switch them off completely for Android devices with code like

$(document).bind("mobileinit", function () { //apply overrides here if (navigator.userAgent.indexOf("Android") != -1) { $.mobile.defaultPageTransition = 'none'; $.mobile.defaultDialogTransition = 'none'; });


Default settings aren't optimal, yes, but try looking around for answers on jQuery forum and Phonegap Google groups, and you'll find useful tips how to make interface more robust.

E.g., for my links I use following code. It binds a tap event (instead of a standard jQuery Mobile click event) to a button/link, resulting in almost no delay.

    $('#footer-menu a').on('tap vmousedown', function () {
        window.location.href = $(this).attr('href');
    });


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: