3D FlipBook - Get current page number into HTML FORM input field

w***l@sherwoodphoto.com
2021-04-22
2021-04-25

I found a snippet for what i think is applicable: book.ctrl.getPage()

but i don't know how to get this current page number value?

The usage of 3dfb is a catalog, and i have a (crude as it is-- the client has no other option) thin order entry form at the bottom for people to type in the item to be ordered from viewing the catalog page. I would like the page number field to be populated upon focus into the (or

) at the bottom. This is the basic code i'm trying to get to work, below. if i replace book.ctrl.getPage with a constant it works for that test.

PageNumField =

THANK YOU! Will

Replies

a***r@3dflipbook.net
2021-04-25
2021-04-25

Use:

var scene = $('#container').FlipBook({
  ...,
  ready: function(scene) {
    console.log(scene.ctrl.getPageForGUI());
  }
});
Log In to leave a comment