Algorithm to layout blocks of text onto page

I need a simple algorithm using JQuery or any other JS framework (or vanilla js) that given a JSON array of text, try to fit each item of the array onto a fixed size div, and create a new div to fit the other items.

I basically want to emulate CSS regions but in javascript only.

I have a flipbook component that based on the number of divs creates pages, and so my json array will have guest book entries and some entries are long, some entries are short, so I want to fill a page with entries before creating a new div.

Kemahiran: Javascript

Lihat lagi: creating algorithm, component book, algorithm component, js framework, fit text, page layout book, layout book, layout a book, algorithm, json jquery page, jquery component, create javascript framework, jquery json page, javascript algorithm, creating layout, algorithm array, array javascript divs, create simple page javascript, flipbook jquery, page book layout, page flipbook, blocks, jquery layout framework, layout algorithm javascript, create algorithm

Tentang Majikan:
( 0 ulasan ) Toronto, Canada

ID Projek: #4054578

Dianugerahkan kepada:


Ciao, please refer to PM.

$60 CAD dalam 3 hari
(0 Ulasan)

3 pekerja bebas membida secara purata $77 untuk pekerjaan ini


Ready to start this [login to view URL] my things in PM.

$100 CAD dalam 5 hari
(2 Ulasan)

I need some more information.. how would you like to do the layout ?

$70 CAD dalam 5 hari
(0 Ulasan)