jQuery Mobile: data-rel=“back” + data-transition does not work?

后端 未结 2 1326
臣服心动
臣服心动 2021-01-03 13:38

I created a jsfiddle that enables tabs using the navbar without changing the url hash: http://jsfiddle.net/ryanhaney/eLENj/

1) If I click on the \"page 1\" link from

2条回答
  •  耶瑟儿~
    2021-01-03 14:37

    anchor.bind("click", function () {
    $.mobile.changePage(anchor.attr("href"), {
        transition: "none",
        changeHash: false
    });
    return false;
    

    Seems to be the issue with "transition: "none",". When I remove it or change it to anything, it works as you expect it: http://jsfiddle.net/PQsyP/

提交回复
热议问题