Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6224775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:43:40+00:00 2026-05-24T08:43:40+00:00

I was wondering if it is possible to do something like this using Javascript.

  • 0

I was wondering if it is possible to do something like this using Javascript.
I think that’s a very difficult thing to implement (just try resizing the window), and I don’t know if there is something on the web (I did not find anything though).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:43:41+00:00Added an answer on May 24, 2026 at 8:43 am

    This is simple, if you’re able to pass text of whole book to page.

    Simple todo-list (MVC)

    • PHP: get book from db and pass its content to view
    • Create four DIVs
      • first to previous page action
      • second to left page
      • third to right page
      • fourth to next page action

    these DIVs are 100% height of browser window and their width is:

    • 30px
    • (page.width-60)/2
    • (page.width-60)/2
    • 30px

    and via Javascript you will just split up the book’s text to so many pages via counting words (for example one page == 200 words)

    and if the page is not so high to take all text, let’s scroll vertically like they do on given example

    more functions they implement are:

    • search (see javascript string.search() )
    • resizing font (see javascript css methods or read Javascript Change Font Size )
    • walking book by chapters ( depends on your implementation *1 )
    • bottom slider (again depends on your implementation, but jquery slider is quite usable for this one)

    *1

    • you can simply pass your book’s text to your view in array by chapters
    • you can pass only chapters and let fetch chapters text via AJAX call
    • or whatever you can think of …

    About ready implementations, you can see these:

    • http://michaelthompson.org/books/read.php?book=b5
    • http://weblogs.mozillazine.org/gerv/archives/2006/05/amazon_ajax_book_reader.html (like page images – scans – implementation)
    • http://openlibrary.org/dev/docs/bookreader
    • http://monocle.inventivelabs.com.au/ ( again scanned pages like images of final size )
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering something like this is possible. Perhaps using templates and trickery? The
I was wondering if it is possible to do something like this: <uc1:TestControl ID=TestControl1
I'm wondering whether something like this is possible (and relatively easy to do), and
Out of curiosity is it possible to do something like this using NHibernate 3?
I am wondering what it would take to make something like this work: using
I am wondering if it's possible to create a grid-like layout using div's that
How can I do something like this using Expression trees : customers.Where(c => c.Name
I was wondering if its possible to geocode something using googlemaps api synchronously so
I was just wondering how it's possible to zoom in a pic using jquery,
I was wondering if something was possible to do in CSS. Basically i want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.