Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: PREV / NEXT Buttons  (Read 9011 times)

Noel1478

  • Newbie
  • *
  • Karma: +1/-0
  • Posts: 17
PREV / NEXT Buttons
« on: September 20, 2017, 06:55:08 AM »

Prev and Next buttons on sheets, I have seen this numerous times and cant figure out how this is done, Id hate to think this is done manually.

See attached

Logged

Steve

  • Administrator
  • Sr. Member
  • *****
  • Karma: +7/-0
  • Posts: 367
    • RevuHelp
Re: PREV / NEXT Buttons
« Reply #1 on: September 20, 2017, 07:07:48 AM »

I don't know of any way internal to Revu unless there is a some JS that will do it.  I don't see any "next page / previous page" type commands in Revu actions or scripting.
Logged
Steve Jones
RevuHelp Forum Admin
steve@revuhelp.com
www.revuhelp.com
www.facebook.com/RevuHelp

Noel1478

  • Newbie
  • *
  • Karma: +1/-0
  • Posts: 17
Re: PREV / NEXT Buttons
« Reply #2 on: September 20, 2017, 08:00:33 AM »

yeah me neither, I got my hands on the pdf and it seems to be a simple link action (open) and chose the next or previous file.
Like I said doing this manually would take forever! I guess I need to add JS to my learning to do list.

Thanks
Logged

Steve

  • Administrator
  • Sr. Member
  • *****
  • Karma: +7/-0
  • Posts: 367
    • RevuHelp
Re: PREV / NEXT Buttons
« Reply #3 on: September 20, 2017, 08:34:02 AM »

Go to this page:
https://www.evermap.com/javascript.asp#Title: Add Navigation Buttons To All Pages

and go down to

Add Navigation Buttons To All Pages

and look at that script.  I created a 5 page PDF file and a form button and pasted that script in the button's JS action.  When I clicked the button to run the script, it put the navigation buttons on all 5 pages correctly but the buttons didn't all behave exactly right - so it probably needs some tweaking.  I've attached my test PDF file.

Good luck!
Logged
Steve Jones
RevuHelp Forum Admin
steve@revuhelp.com
www.revuhelp.com
www.facebook.com/RevuHelp