You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to append or prepend items but i would want to insert items into the wall, at the right, at the left, above or below of a given item of the wall. All the items of the wall must be automatically rearranged after items insertion.
The text was updated successfully, but these errors were encountered:
Thank you for your reply but i don't want to add blocks at the end or at the beginning of the already diplayed blocks of the wall. I need to insert blocks INTO the wall after or before an existing given block displayed into the wall.
New functions could be like that :
wall.appendBlock(blockID, yourDataHere); to insert new blocks into the wall after the block with ID BlockID
wall.prependBlock(blockID, yourDataHere); to insert new blocks into the wall before the block with ID BlockID
For example, if my wall is composed with 6 blocks with ID 1, 2, 3, 4, 5 and 6, and i want to insert 2 new blocks with ID 7 and 8 after or before the block 3, the result of function wall.appendBlock(3, yourDataHere); would be 1, 2, 3, 7, 8, 4, 5, 6 and the result of function wall.prependBlock(3, yourDataHere); would be 1, 2, 7, 8, 3, 4, 5, 6.
It seems possible to add these new functionnalities ?
Hi llavayssiere,
Please insert your block in to DOM by use jQuery first, then use freewall later. http://api.jquery.com/insertafter/
But for performance, freewall will auto assign id for each block.
Best
It is possible to append or prepend items but i would want to insert items into the wall, at the right, at the left, above or below of a given item of the wall. All the items of the wall must be automatically rearranged after items insertion.
The text was updated successfully, but these errors were encountered: