blasten / turn.js

The page flip effect for HTML5
www.turnjs.com
Other
7.18k stars 2.46k forks source link

Unorder class page (.p100 .p1) #643

Open andvis opened 4 years ago

andvis commented 4 years ago

Hi,

in the official doc it seems like it is possible change the order of the divs in the DOM using the classes .p[0-9]+. http://www.turnjs.com/docs/Class:_.p

I tryed this features writing jus two divs like the example: .p100 and .p1. It doesn't work. Message in console is: "TurnJsError {name: "TurnJsError", message: "Page "100" cannot be inserted"}"

Looking at code, it seems impossible that it could work. What do I miss? What I'm not considering?

Regards Andrea Vischi