Change page destination of a button

I have a book of 54 documents. I 've made in each document some buttons to go to another document (hyperlink). No I have to make this same book in another language. I copied my document, renamed them by changing a suffix (for ex: _be into _fr)
I am wondering if it is possible to change the page destination of a button with a script...  I hope that it's possible because it is a lot of work to relink all this buttons.
Is there someone who can help me with this?

here is an example using a little css witha button with an id of #test
CSS:
#test{
    color:#FFF;
    border:thin solid #003;
    background-color:#900;
HTML:
  <input type="button" name="test" id="test" value="Submit" />

Similar Messages

  • [JS, CS3]  Setting Page Destination on Button

    Hi
    I unsuccessfull try to set the a Page Destination on a Button.
    The script loops through the Document and picks certain textframes, which contain the page.name as text. inside the loop I do this:
    // START LOOP
    // Getting the Content of Textframe -> this is the destination Page Number
    myDestinationPage = myDocument.pages.itemByName ( myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].contents );
    // Creating a HyperlinkPageDestinationObject
    myHyperlinkPageDestination = myDocument.hyperlinkPageDestinations.add( myDestinationPage );
    // Creating a new Button over a certain area on the actual Page - setting visibility off
    myButton = myDocument.pages[ pageIterator ].buttons.add({visibilityInPdf:1181247844, geometricBounds:[ myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].geometricBounds[ 0 ],12,myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].geometricBounds[ 2 ], myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].geometricBounds[ 3 ]]});
    // Creating an hyperlinkPageItemSource = the Actual Button myHyperlinkPageItemSource = myDocument.hyperlinkPageItemSources.add( myButton );
    // Creating an Hyperlink
    myHyperlink = myDocument.hyperlinks.add( myHyperlinkPageItemSource, myHyperlinkPageDestination );
    //The Destination shall be a Ceratin Page so I add a gotoAnchorBehavior
    myGotoAnchorBehavior = myButton.gotoAnchorBehaviors.add();
    // Now I try to set the Anchor Target. I think that's not working...
    myGotoAnchorBehavior.anchorItem =myHyperlink;
    // END LOOP
    The Buttons are there, the Destinations as well, but the ceratin button has not the desired Page as destination. Does someone have a hint on this topic?
    Thanks and greets
    Stefan

    Hi Keith,
    myDoc.activeLayer = myDoc.layers.item("Layer 1");
    Kasyan

  • How do I change the destination of a the submit button on a form in Form Central?

    How do I change the destination of a the submit button on a form in Form Central?

    Sure. Because it is a scheduling form and I want the filled out form to be forwarded to our scheduling department email.
    Sincerely,
    John Biester
    Operations Manager

  • Changing region position on submitting the page by clicking a  button.

    Hi,
    I have 3 regions in my APEX page.
    1. Region having 20 LOV's with the width between them as 300. The display point is "Page Template Body (1)"
    2. Region having 3 buttons.(Go, CLEAR,CALCULATE) The display point is "Page Template Body (2)" Template is "Region without title" and column = 2 and align = "center" in HTML table cell attributes
    3. Region having a report with 25 display columns.
    Now the problem is,
    a) When I click "GO" button , 25 column report displays and it goes beyond the page layout. Hence button also shifts to right(means center position of the page when it is extended by 25 column report). User cannot see the button.
    This button shpould retain its place. How to do this?
    b) When I click "GO" button , the gap between the LOV's increases and LOV's also shifts to the right side.
    These LOV should be in its place. and should not move on click of button when page submitted.
    How can i achieve this. ??
    Any suggestios would be welcome.
    Please help me.
    Thanks
    Alaka
    Edited by: Alaka on Jan 5, 2009 6:06 AM

    Hi,
    If I understand well your problem... You don't say what theme you are using, but usually regions have width=100%, meaning that they should use the whole width of the page (not just the visible part on the screen). Because of this, when the region containing the report extends to the right, it forces all other regions on the page to resize themselves accordingly, that is why your design is getting messed up.
    One way to fix it is to tweak the region templates (I would suggest making a copy instead of changing the existing templates). Simply remove the width=100% setting, or hardcode it to a fixed width (for instance, width=300px).
    It is a bit complicated to explain here exactly how to do this, but I hope this gives you an idea...
    Regards,
    Luis

  • Suddenly my Firefox app changed. When I am on Facebook it CONSTANTLY asks if I want to change pages, even if I am just browsing a picture album. And I have trouble comments or moving among pages. The Link buttons appear to be inactive.

    I get a grey box every time I click on anything in games or picture albums, or moving among applications, asking me if I want to change pages. I went to Tools/Options/and made sure I had the "warn me when sites want to redirect me" turned off, and "load pages automatically" checked. Also, the links for comment seem to be inactive. I click on links and nothing happens. It works fine on Explorer so I am thinking something about Firefox is wrong.

    This issue can be caused by one of the gadgets on the Facebook page. You will have to check that out by removing some of them.This issue can be caused by one of the gadgets on the Facebook page. You will have to check that out by removing each of them until you find the culprit. If you added one or updated one recently than start with those.

  • Buttons to Page Destination Disappear after clicking

    I have a column of headers on the left side of my document that upon clicking, take me to the appropriate page. I click on the first two and it work beautifully. But I click on any others and the list and although it takes me to right page, all of the buttons disappear. Anyone know why this might be and how I can fix it?
    Thanks,
    Lauren

    The next time you have the problem, note the exact times when it starts and ends: hour, minute, second.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Scroll back in the log to the time you noted above. Post any messages timestamped during that interval – the text, please, not a screenshot.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into a message.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

  • Cannot change page size with acrobat

    I am able to convert my manuscript in Mac word(2011) to adobe acrobat (XI); unfortunately the 6 X 9 " page size does not convert. I spent a few hours on the phone with adobe support and the final resolution was to upload the file to them and they converted it for me. however, they used distiller which reduced the file size and appears to have affected the many images. Does anyone have any advice? The best I have been able to glean online is work with inDesign to change page size.

    Thanks.
    The problem was with the paper size. In addition to change the page size I needed to change the paper size in the print option before selecting save Adobe PDF.
    From Word go to File> Print
    Open the Copies & Pages dropdown
    Select Paper Handling
    Check the Scale to fit paper size box
    Open the Destination Paper Size list
    Select your custom 6x9 Preset
    Click the PDF button
    Select either Save as PDF or Save as Adobe PDF
    The unfortunate thing is that I was able to do this initially, but when I went back to replicate it adobe is creating 2 files one with my cover page and the rest to the manuscript. Luckily my initial copy was good. Thanks again for your help.

  • Hard code value of destination URL on button in OAF

    Hi All,
    I got a requirement to change the link for a button. I have changed the destination url for that button in properties for that button and after that I had moved that page to server and imported to JAVA_TOP as well and done the apache bounce. But the change is not reflecting. Please assist me.
    Thanks in advance!!
    Regards
    Gaurav

    Hi Gaurav ,
    How did you change the destination URI property ,are you working on Orale standard page ?
    Did you extend the controller class ?
    --Keerthi                                                                                                                                                                                                                                                                                                                                                           

  • How to change the Destination URI value of a item table at run time

    I'd like to change the Destination URI of item of a table region when a column X of my view is not NULL. Where should I set the new Destination URI value for the item table region for specific row? Is in the RowImpl for the view object or in the Controler of the page?
    I'd really appreciate any suggestion.
    Thanks in advance.

    Hi,
    Thanks for the help, but I still dont know where I should to use setAttributeValue(DESTINATION_ATTR,OADataBoundValueViewObject());
    All examples that I saw till now here, suggestes to change something in the page in Controller but based on something entered in the page. In my case is IN to OUT, I will render some item table with a specific value parameter based what is in the database. Being more specific, I have a html table and one column Col1 has a value and it will have a DESTINATION URL if another column Col2 is Null. I believe I would have to check somewhere if the Col2 is null or not and change the DESTINATION URL property.
    Thanks again..

  • After doing a Google search, I click on a link and go to the searched web page.  When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out".  Any idea what is going on with the browser?

    After doing a Google search, I click on a link and go to the searched web page.  When I go back to the Google page using the back button the links I originally clicked on no longer show as "greyed out".  Any idea what is going on with the browser?

    Type '''about:config''' in the Location (address) bar and press the "Enter" key. When you see a warning, click '''I'll be careful, I promise!''' button.
    * Preferences that have been modified are shown as '''bold (user set)'''.
    * Preferences can be '''Reset to the default''' or changed via the right-click context menu.
    -> In the '''Filter bar''', type '''browser.sessionhistory.max_entries'''
    * Right click the preference '''browser.sessionhistory.max_entries''' and click '''Modify'''
    * Change value from 0 to whatever you want over 0 (Default value is 50)
    * click OK
    -> Close the '''about:config''' tab and then Restart Firefox.
    See this post:
    * https://support.mozilla.com/en-US/questions/860894#answer-229574
    Check and tell if its working.

  • Page up and down buttons nor working in preview

    Changes to preview seem to prevent the recognition of the page-up and page0down buttons.
    How do I fix this or report it as a bug to apple?

    Strangely, for me, the page up works, but page down doesn't. 
    The arrow keys seem to work, but muscle memory always goes to page up/down.
    Pretty irritating.

  • How to add Change Layout, savelayout, select layout Button to ALV Toolba

    How to add Change Layout, savelayout, select layout Button to ALV Toolbar?
    Moderator message: please (re)search yourself before asking.
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    locked by: Thomas Zloch on Sep 10, 2010 10:57 AM

    Variant
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant          = gs_variant
                i_save              = c_save
              it_default_fieldcat =
           IMPORTING
                e_exit              = gf_exit
                es_variant          = gs_variant
           EXCEPTIONS
                not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF gf_exit = space.
          cf_varia = gs_variant-variant.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save        = c_save
        CHANGING
          cs_variant    = gs_variant
        EXCEPTIONS
          wrong_input   = 1
          not_found     = 2
          program_error = 3
          OTHERS        = 4.
      IF sy-subrc NE 0.
        cf_subrc = sy-subrc.
      ENDIF.
    Change Layout, savelayout, select layout Button  pass the value which is in BOLD
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                =  gd_repid
         i_callback_user_command           =  'U_COMMAND'
         i_callback_top_of_page            = 'TOP-OF-PAGE'
                         is_layout                    =  fld_lay
           it_fieldcat                  =  fieldcatalog[]
                       IT_EXCLUDING                  =
                       IT_SPECIAL_GROUPS             =
                       IT_SORT                        =  it_sort[]
         i_default                      = 'X'
         i_save                         = 'A'
         is_variant                     = gs_variant
         it_events                      =  it_event[]
        TABLES
          t_outtab                      =    it_sales
                     EXCEPTIONS
                       PROGRAM_ERROR                     = 1
                       OTHERS                            = 2
    Annasaheb

  • How can i change a video to a button in INDD? interactive PDF export issue

    in iNDD, I wish to have 2 videos on a page, overlayed, with two buttons that when each is clicked it shows the respective video and hides the other one, i have it working in epub3 using the interactive functionality, but in interactive PDF export, only one video is visible and the other wont hide when the other button is clicked!
    Can anyone help?

    Many Many thanks for the reply...
    Now I got it and I am working with that.
    Before I didnt get the option bcs, I copied the entire clips to new sequence. Now I did as follow,
    1. Created a new sequence with the ratio of 4:3.
    2. Right clicked on the sequence with 16:9 ratio and clicked on insert.
    3. Then selected the sequence in time line and changed the scaling in Effect Controls tab to 75%.
    Now my video changed to 4:3 aspect ratio with letterboxing.
    Once again Many many thanks to Dave Merchant and Harm Millaard for helping me to get in to this solution.
    regards,
    amn

  • Landing Page with Buy now Buttons for products?

    Hi,
    I've been searching all morning and was hoping someone could point me in the right direction please.
    We have 1000 products on BC and I wanted to create a custom landing style page offering 3 set products that people can click to buy now. ie just a simple buy now button.
    I don't want it to look like our normal small or large catalogue but as a separate landing page.
    I would like when the customers to click Buy Now or Add to Cart that it adds them to the cart.
    e.g
    blah blah blah
    large image of the item
    underneath = Buy Now / Add to cart
    blah blah blah
    large image of the item
    underneath = Buy Now / Add to cart
    etc.
    I tried using {module_product} inseting the item but it only shows a tiny pic and has no buy now button.
    I also tried inserting an actual html code of the products button, but it didn't work either.
    <div><img src="/images/btn_addtocart.png" alt="add to cart" onclick="AddToCart(98416,1375845,'',3,'','',false);return false;" /></div>
    If I just create them as text is there a product specific buy now button I can insert so that item gets added?
    I've seen websites do this with a paypal buy button but then it wont go through our CRM etc.
    Any ideas?
    Thank you

    My routine, as always, has been to do the pages in iWeb and then using iWeb I select "Publish site changes" to a folder locally on my drive. Then, using Transmit (and I have used Cyberduck) I upload the folder of files and the file ending in .html for the changed pages to my server that hosts the site. What you are telling me is that either iWeb is not "publishing" all the changed files to my local folder, or there are files that are located somewhere else within the structure of the site that I have failed to upload.
    I looked for paste.css files and found it in the scripts > regions or whatever folder but these are not files that I typically have ever looked for or uploaded when changing a page in iWeb.

  • In a unique website I must manually refresh( once +) to change pages

    When in www.uswatersystems.com and attempting to change pages (ie. by clicking on a category or type of part button) a "transferring data...) notice appears at Lower Left screen but the page remains blank. Clicking the refresh (now X) button (changed state to refresh) will generally bring up the desired page. My computer w/ff7.0.1 doesn't do this on any other sites and a call to US Water Systems disclosed that they had heard from no one else about this issue.

    The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
    Try the Default FullZoom Level extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/6965
    Or the NoSquint extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/2592/

Maybe you are looking for

  • Macbook pro ( 13" mid 2009 ) keeps freezing every few minutes since downloading mavericks

    Ever since downloading osx Mavericks , my mac book keeps on crashing every few minutes. Doesn't matter what application I am using, system hangs every few minutes. I have been looking at Activity monitor closely. Following programs end up using a lot

  • IPod PRO

    OK, we all love the iPod, but there are a large number of users that don't think a $3 Digital to Analog converter (that CAN'T be bypassed) is acceptable audio quality in 2008 while the audio on the iPod hard drive is much better if you use Apple loss

  • Deal for Logic Pro X?

    So, I bought Logic Pro 9 about a month ago, not knowing that Pro X was getting released anytime soon. I was expecting some kind of deal for having the previous version??? (à la Reason, even though apple is definetly not Propellerhead).

  • Trouble Converting Files

    I've had many problems with Nokia PC Suite but I won't mention all of them just the ones I've had to deal with recently. Often, and I'm sure a lot of Nokia users will agree with me, Nokia Music Manager won't convert files. It will say that that parti

  • Iphoto Pics Show Blank thumbnails with "!" in the shadow

    My library file has pics in it and shows data taking up space but when I open IPhoto, all my thumbnails are blank. when i click on the pics, a shadowbox with an exclamation point shows up. The file was ok until I copied the entire library file to an