How to display the content with pagination according to the height

Hello All,

I want to display the content according to the height of the page with pagination. That content may contain html elements as well.

Please help me.

Thank you so much.

Height as in ‘hight of the browser window’? You can’t do that with PHP. If it is possible to do, you’d have to use JS. And what would you do if the user diminishes the window size? Change the number of displayed items instantly?

Can u plz suggest some code?

I have some sections like heading 1, heading2 etc. if the heading1 content is not ended in the first page i need to add a string called headin1(continued) in the second page.

Please help me.