Pluda
Pluda

Reputation: 33

Jquery mobile transitions

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

Answers (2)

deCastongrene
deCastongrene

Reputation: 340

Also, the transition name should be lower case:

data-transition="fade"

Upvotes: 1

naugtur
naugtur

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

Related Questions