语言

Menu
Sites
Language
jqueryMobile changePage , transition: "slide" effect

Hi all,
I have faced with issue. I tried change current page using $.mobile.changePage($('#page2'), {transition: "slide"}); It works not smooth
or works like there is no effect at all. Only page is changed but no effect during transition.

p.s. But transition effects: "slideup", "slidedown" and "slidefade" works on 2.2.0 Tizen device properly.
Did anybody face with such issue?
Alexey.

响应

3 回复
Marco Buettner

On my device all transition doesn't work smooth!

Raghu Kona

Hi Alex,

Yes, the transition is not smooth while using affects. I think this will be improved in the next release.

Meanwhile you may tweak it by changing the duration of animation.

You can acheive by adding the below code in css file

.in, .out {
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-duration: 950ms !important;
}

You can alter the value of duration (in ms) as per your requirement.

Regards,

Raghu Kona

 

Alex Dem

Thank you for responses!
Alexey.