开发者

Jquery mobile transitions

first time using jquery mobile version.

why does this not work?

<div dat开发者_高级运维a-role="collapsible" data-collapsed="true" data-transition="Fade">

I want to onClick have the content fading in, but it does not happen, it just appears roughly and no smooth at all.

Thanks

Pluda


Transitions are made with new advanced features, not with javascript. Implementing them with javascrtipt would be heavy and cumbersome. That's why they don't work in most old browsers yet. (AFAIK most browsers support them in new releases)


Also, the transition name should be lower case:

data-transition="fade"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜