Displying Text one by one.

wxdqz

New Member
Hi,

I need some help, I am not a professional web developer but a software developer, however I have good knowledge of HTML but I suck at JavaScript. I am currently creating my own web site, and now I am facing a problem.

I have on my web site, some hundred of different lines like verses. Which I want to store on server and not to display all in one page.

For Example. There are 100 lines and I want to display one line per page, and give the user option, BACK and NEXT if the user selects next the pervious line should become invisible and new line should be visible.

Another problem is, the user can enter a line number in text box and press go to display the particular line, like the user enter 10 and 10th line will be visible.

I want to store all lines in one javascript file and display it as I want, without reloading the page when user press next. I don't want to use ASP or PHP or CGI. Just in plain JavaScript and HTML.

Your help will be appriciated.

Thanks in Advance.
 
Back
Top