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

  • SEARCH
  • Home
  • 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 8947423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:45:25+00:00 2026-06-15T12:45:25+00:00

I am using turn js , a js that create flip book function. From

  • 0

I am using turn js , a js that create flip book function.

From the online source the statement to get current page is :

alert($('selector').turn('page'));

However, it only get a null value that means the $(‘selector’).turn(‘page’) is not working. How to get the page no of the user reading page. Since a book have 2 page at the same time, I would like to get the page either left hand side or right hand side, How to do this ? Thanks

  • 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-06-15T12:45:27+00:00Added an answer on June 15, 2026 at 12:45 pm

    you should change 'selector' to the id of the div containing the ‘pages’

    eg:

    <div id='flipbook'>
        <div class="hard"> Turn.js </div> 
        <div class="hard"></div>
        <div> Page 1 </div>
        <div> Page 2 </div>
        <div> Page 3 </div>
        <div> Page 4 </div>
        <div class="hard"></div>
        <div class="hard"></div>
    </div>
    

    and in js

    alert($('#flipbook').turn('page')); //do not forget the #
    

    if you post a little more code, we can help you more 🙂

    if you click here you can see a working example with code

    edit: added some event handling in the fiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically I would like to create a function that will in turn create a
I was wondering if anyone could help me create a function that will turn
I am using a UIPageViewContoller to create a book-like page turning experience. The pages
The issue is that using to_char will turn order by date into order by
When using NUnit, I can turn off shadow copy so that my test assemblies
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
I want to create an interactive website using aspx and ajax, that there will
I'm looking at this: http://www.netmagazine.com/tutorials/create-page-flip-effect-html5-canvas However, I have one problem with that - I
I have a very basic web page that uses flot to create a canvas
I need to create a Scheme function that receives a list and a desired

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.