Text Sections | JavaScriptSource

Text Sections

James Kennedy Feb 24, 2006


This script allows a user to read a volume of text, without having to scroll the page and without having to load different pages. This makes for easier maintenance as only one page needs to be updated, yet the content is visible to search engines. Very useful for large amounts of text.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat..


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: textSections.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document

Leave a Response


[a href="http://javascript.internet.com/text-effects/layer-scroller.html"]This might be[/a] what you're looking for. [a href="http://javascript.internet.com/miscellaneous/scroll-div-horizontal.html"]This one[/a] scrolls horizontally.

Lee Dec 2, 2008

How can I make this proceed backwards through the text sections as well as forward? I'm looking for two buttons - such as "Previous" and "Next," so the whole page doesn't have to be reloaded if you've missed something in the text. Is there an easy way to do this?

Lafcadio Nov 21, 2008

Sure, it should work fine.

Lee Sep 5, 2007

hi[br /]can i replace the tab button with images whihc when click will go to the correct page - 1 2 3 4[br /][br /]cheers[br /]Jiamie

Jaimie Lisa Stow Jul 20, 2007