Skip navigation
b@r_fly
Currently Being Moderated

Limit scrolling to end of bookmark (Acrobat Pro X)

Dec 13, 2012 3:54 AM

Tags: #scrolling #bookmarks

Hey there

 

Might be that I just can't find the obvious, but thanks anyway for your replies.

 

What I am looking for is an option to limit scrolling to the bookmark you're currently in.

 

For example, let's assume you want to assemble a book with different chapters organized by bookmarks. The first chapter is 5 pages long; is it possible to allow scrolling over those 5 pages, but when you come to the bottom of the 5th page, scrolling won't take you to chapter 2, so that if you want to get there, you have to use the bookmarks?

 

(Before you ask, the example is maybe not chosen well, but it's easier to explain it that way than with the actual project I'm planning to use this "feature" for.)

 
Replies
  • Currently Being Moderated
    Dec 13, 2012 3:59 AM   in reply to b@r_fly

    'Fraid not, scrolling is always over the entire document. Bookmarks are stuck lightly on the document, they aren't part of a high level structure that organises it, and bookmarks may not even link to pages.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 13, 2012 4:53 AM   in reply to b@r_fly

    I think it can be achieved, but it would require creating a some-what complex custom-made script.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 13, 2012 7:53 AM   in reply to Gilad D (try67)

    It can't be done in a way that would work cross-platform or with non-Adobe software, plus it will make the application appear to be broken so it will annoy the living heck out of people.

     

    The scripting solution would be to use bookmark actions to set a global variable marking the 'chapter', then to define Page Open events that forcibly change if you stray outside the allowed limit. The problem is that you cannot hide the page thumbnails, the scrollbar will act in a really strange way, and if someone manually advances with the page number field they can jump past the scripted event.

     

    If you want a PDF to behave as if it were individual documents, make it that way then bolt the sections together as attachments to an index page, or in a PDF Portfolio.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 13, 2012 7:58 AM   in reply to Dave Merchant

    I agree that doing it with a script is somewhat clumsy and far from ideal,

    but what you said about navigating to a "forbidden" page with the page

    number field is not correct. A script can be used to prevent that as well.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 13, 2012 8:37 AM   in reply to Gilad D (try67)

    If you grab every page's event listener it will react to a selection from the page field, but to be at all sensible about the amount of scripting involved, I think you'd want to limit the page actions to those at the bookmark boundaries. There are also plenty of situations where page events aren't triggered (e.g. when scrolling a card in a Portfolio, or when someone's just disabled JS).

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points