Support » Plugin: PDF Flipbook, 3D Flipbook, PDF embed, PDF viewer - DearFlip » Full page links in images flipbook

  • Resolved cdefreitas

    (@cdefreitas)


    Hello, I tried the PDF flipbook, and the links in the pages are linkable it all works as intended.

    I want a similar effect on the images flipbook. I created the array with all the images and it loads perfectly. but I want certain pages to have a specific link.

    The documentation don’t have any info about this, and in the examples the only info I could find was CUSTOM HOTSPOTS.

    I need the link to be the whole page, not an area on it, is it possible to achieve?

    • This topic was modified 3 years, 1 month ago by cdefreitas.
Viewing 1 replies (of 1 total)
  • Thread Starter cdefreitas

    (@cdefreitas)

    For anyone looking for a solution to this issue, here is how i handled it:

    inside your options declaration, include an empty array links:

    
    var options={
       ...
       links:[],
       ...
    }
    

    after you close the options declaration, the following must be assigned to each of the pages. you must assign the links in this way

    
    options.links[1]=[        //1 being the first slide
     100,                     //AS I SAW IT, arbitrary number to be called width
     100,                     //AS I SAW IT, arbitrary number to be called height
     [0,0,100,100,'url']]     //Link array
    

    The linkable area will start at the 0,0 mark, and will span until 100,100 (the number we defined earlier as width, height of the page.

    I would have really liked all this info to be in the documentation.

    • This reply was modified 3 years, 1 month ago by cdefreitas. Reason: added var options = {
Viewing 1 replies (of 1 total)
  • The topic ‘Full page links in images flipbook’ is closed to new replies.