Victa / curtain.js

PROJECT IS NOT MAINTAINED - This plugin allows you to create a web page with multiple fixed panels that unroll with an amusing effect.

Home Page:http://curtain.victorcoulon.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to load new block with ajax?

Tusko opened this issue · comments

I would like to load new blocks with ajax, when scroll will be in some needed position.

After load this blocks, how I can recalculate all?

And how to change parent's block height (when blocks with class="step" were loaded)?

Thank You, Sorry for my English

Hi,

Can you provide an example ? From what i saw, there is no option to re-init the curtain, so, we need to recall the curtain after inserting a list item.

https://github.com/Victa/curtain.js/blob/development/v2.0/curtain.js#L305
https://github.com/Victa/curtain.js/blob/development/v2.0/curtain.js#L354

recall works just fine.