Splitting Long Text Over Several Pages (chunks)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jetheat
Forum Newbie
Posts: 4
Joined: Mon Feb 11, 2008 3:09 pm

Splitting Long Text Over Several Pages (chunks)

Post by Jetheat »

I have a web page which loads content in the middle table (middle of page) depending on what link was clicked.

Sometimes, the page which is loaded in the middle is too long.

I want to be able to limit the text so that it cuts off in line with the bottom of my vertical nav bar.

At the same time, I would like there to be a "Read More" or a "Continue" link at the end of the text which if clicked, will load the next part over the current part as if it's the next page but without having to physically create another page.

In other words, it will load one long page but split into sections which can be accessed by the "Read More" or "Continue" link at the end.

How do I do this?

Appreciate the help,

JH

PS: I know absolutely zero Javascript or PHP
Post Reply