0 Replies Latest reply on Nov 19, 2009 6:50 PM by CharlesBelov

    Make a non-form button float

    CharlesBelov Level 1

      I have a pair of buttons in the upper right corner of a one-page document, same size, same position. The document displays at a Fit Screen zoom level.

       

      "Show details" turns on a detail layer, shows the "Hide details" button and hides the "Show details" button.

       

      "Hide details" turns off the same detail layer, shows the "Show details" button and hides the "Hide details" button.

       

      The above is accomplished with the button properties, not JavaScript.

       

      If the person viewing the document zooms the document then scrolls it, the button pair may be scrolled off the screen. If possible, how would I use Acrobat JavaScript to make the button pair stay in its upper-right position of the view window?