Reputation: 33
first time using jquery mobile version.
why does this not work?
<div data-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
Upvotes: 1
Views: 1201
Reputation: 340
Also, the transition name should be lower case:
data-transition="fade"
Upvotes: 1
Reputation: 16905
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)
Upvotes: 2