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.

Evner: Javascript

Se mere: 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

Om arbejdsgiveren:
( 0 bedømmelser ) Toronto, Canada

Projekt ID: #4054578

Tildelt til:


Ciao, please refer to PM.

$60 CAD in 3 dage
(0 bedømmelser)

3 freelancere byder i gennemsnit $77 på dette job


Ready to start this [url removed, login to view] my things in PM.

$100 CAD in 5 dage
(2 bedømmelser)

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

$70 CAD in 5 dage
(0 bedømmelser)