2012-07-31 4 views
4

changePage 방향의 종류와 그 changePage 방향을 모두 지정할 수 있습니까? 뭔가 같은 : $.mobile.changePage("mySpecialPlace.html", {transition: "slideup"}, {direction: reverse});방향이있는 jQuery Mobile changePage

답변

10

문서 : http://jquerymobile.com/demos/1.1.1/docs/api/methods.html

당신은했으나, 체크 아웃 내가 연결된 위의 문서를, 그것은 당신에게 당신이 .changePage() 방법에 대해 지정할 수있는 모든 옵션의 정확한 구조를 보여 드리겠습니다 .

$.mobile.changePage("mySpecialPlace.html", { 
    transition : "slideup", 
    reverse : true  //notice options are passed via the same object 
}); 
+0

완벽합니다. 덕분에 Jasper – Apollo

+0

docs man ... 사용중인 프레임 워크의 문서를 읽으십시오 ... – Jasper

+0

그 위대한 조언이야. 나는 곧 시작할거야! 감사! – Apollo