3D FlipBook - Great script! 2 questions: 1. Is there a way so i can set the color of the links inside the PDF. I tested the pdf but all

d***r@cecn.net
2019-08-08
2019-08-08

Great script!

2 questions:

1. Is there a way so i can set the color of the links inside the PDF. I tested the pdf but all links show as transparent. That way the user knows there is a link. Because now it’s transparent.

2. Can i deeplink to a specific page? So link straight to a certain page inside the flipbook. Something like url?page=22

Replies

d***r@cecn.net
2019-08-08
2019-08-08

Thanks for the code, it works except it is off by 1 page. If you for example type ?page=40 it goes to page 41.

Are there plans for thumbnails? Would be a great feature also.

a***r@3dflipbook.net
2019-08-08
2019-08-08

it is ok) scene.ctrl.goToPage(...); takes the number from zero, not from 1.

Yes i am going to add thumbnails, deep linking and flip sounds in next version. If you have any other ideas it is always welcome.

Best regards,

Ivan.

d***r@cecn.net
2019-08-08
2019-08-08

Thanks!

Is there an easy way to change the loader of the page with an animated gif? I can change the loader of the application but would like to change the loader of the pages also.

d***r@cecn.net
2019-08-08
2019-08-08

And are there settings to set the color of the buttons and to set the backgroundcolor or background image? I can’t find those in the documentation.

I can do it using CSS but maybe it can be done also using some variables?

a***r@3dflipbook.net
2019-08-08
2019-08-08

1. It does not use gif for page loading animation, it generates its own texture projjsclassesLoadingAnimation.js. I am not shure that it will be easy to change it with a gif, but you can change the class LoadingAnimation to draw another animation.

2. Only CSS, because it is very specific for everyone, so the best way is create your own template, that matches your website.

Best regards,

Ivan.

d***r@cecn.net
2019-08-08
2019-08-08

Ok thanks,

Do you maybe know an easy way to add a “class” to a link. We want to use it to make a catalogue where products are clicked it can be added to a shoppingcart script. To do so i need a class added to the links (anno.url)

a***r@3dflipbook.net
2019-08-08
2019-08-08

thanks! i got your idea. css class won’t help you and jquery also does not. I guess there is a handler for ‘a.chart’ that changes their standard behaviour. instead of navigation it does call to the char api. I guess you need to set some plugin callback that will replace default handler. the callback will receive the url and call the chart api like it does the handler for ‘a.chart’. that haw i see this. Unfortunately there is no link handler customization in current version, i will add it in next one. you need to figure out how to call the chart api if you have the url.

Best regards,

Ivan.

Log In to leave a comment