-
1. Re: Button Highlight in Interactive PDF from InDesign CC
Frans van der Geest (ACP) Aug 22, 2014 11:21 AM (in response to pinkstonms)I'm afraid that is just the way it works...
-
2. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Aug 22, 2014 11:29 AM (in response to Frans van der Geest (ACP))But it is counter intuitive, I spend all that time designing custom buttons because Adobe allows me too and then they get destroyed. As I said it makes sense with Text Fields but is rather useless and not meaningful with buttons , Don't You Agree? Adobe needs to change this or tell designers not to waste their time developing custom buttons.
I have read similar complaints on other forums.
-
3. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Aug 22, 2014 11:33 AM (in response to pinkstonms)Not only does it ruin the ready state it also adds a Black Outline on the click. Wish I could have designed this in Flash wouln't be an issue..... Thank you Steve Jobs (where ever you are)
-
4. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Aug 22, 2014 11:38 AM (in response to pinkstonms)In my 20 years of working with Adobe products I have never found a problem that someone hasn't hacked a work around, come on folks anyone?
-
5. Re: Button Highlight in Interactive PDF from InDesign CC
Larry G. Schneider Aug 22, 2014 12:08 PM (in response to pinkstonms)I think one of the problems is the number of buttons. I've just done what you did and got no highlight with the button i made.
-
6. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Aug 22, 2014 12:42 PM (in response to Larry G. Schneider)Thanks for the effort Larry but I get the same result with one or three or fifteen buttons (in order to fully test a radio button you must have a least two present), do you have "Highlight" turned off in your Acrobat? If not I would like to know how you did it. Did you use a button from the "Button Library"?, are you using CC or CC 2014? Maybe you can share you InDesign File .....
I am pretty sure there is a way to accomplish this I saw a video online where someone was able to do so, I have reached out to the individual but have not heard back from him.
Thanks
Mark
-
7. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Aug 22, 2014 1:40 PM (in response to pinkstonms)I am guessing I need to rebuild this thing in Illustrator to see if that will be a work around
-
8. Re: Button Highlight in Interactive PDF from InDesign CC
Larry G. Schneider Aug 22, 2014 2:35 PM (in response to pinkstonms)Have you tried just exporting the file as a Print PDF and adding the buttons in Acrobat. I know it's extra work but sometimes the output from ID is not quite right.
-
9. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Aug 22, 2014 3:05 PM (in response to Larry G. Schneider)Thanks Larry, I originally began this as an Illustrator file with buttons added in acrobat but if you take a look at the attached you will see that it could only be done in InDesign exporting to interactive PDF.
I will give that a try and see how it looks. Crazy I just got home and checked out the PDF with Acrobat X and the buttons react differently. Also opened on my IPad and the buttons do not show at all..... arrrrrrrg I curse Steve Jobs every tine I get and interactive to design and build, this would have been a piece of cake with ActionScript
-
10. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 5, 2014 7:22 AM (in response to pinkstonms)I'm having this same issue but not with radio buttons. I have transparent buttons that link out to various URLs and they have the blue overlay when the pdf is viewed in Chrome or Firefox but are fine when viewed in Acrobat Reader or Safari. I really need these to work regardless of the viewer used. Adobe? Anyone out there have a solution to this? It's a simple thing that should not be an issue.
-
11. Re: Button Highlight in Interactive PDF from InDesign CC
BobLevine Sep 5, 2014 7:27 AM (in response to geigreg)You are creating an Adobe PDF for a reason. Beyond Acrobat and Reader there is no assurance for how these things will work.
-
12. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 5, 2014 11:03 AM (in response to geigreg)Hey buddy I did find a solution to this it requires going into the Javascript section:
As you noticed, the highlighting of fields is an user preference. Therefore, changing the setting behind the user's back is considered to be "not nice".
However, there is a way which is accepted:
• you create a simple document-level script (note that when you add it, you will delete the function definition, and then add the text):
(Document JavaScripts)
var rths = app.runtimeHighlight ;
app.runtimeHighlight = false ;
• in the willClose Document JavaScript, you will add:
(Set Document Actions)
app.runtimeHighlight = rths ;
And that should do it. You are saving the user's setting in the variable rths, and when you close the document, you reset it.
Hope this can help. -
13. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 5, 2014 11:37 AM (in response to pinkstonms)Thanks for the prompt reply. I'm not a programmer. Is this something I need to write from scratch or implement via the ExtendScript toolkit? And if from scratch does it just go into the Scripts folder? Or can it be added to an existing script? Sorry for the questions- I'm a dumb artist/designer! Thanks for the help!
-
14. Re: Button Highlight in Interactive PDF from InDesign CC
Larry G. Schneider Sep 5, 2014 11:42 AM (in response to geigreg)These are added to the document after opening it in Acrobat.
-
15. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 5, 2014 2:58 PM (in response to geigreg)Geigreg I am a designer as well and understand try this along with my code above:
`
In Acrobat X Pro, you will use the JavaScript panel in the Tools pane; you may have to unhide JavaScript from the dropdown menu in the top right corner of the Tools pane.
For adding the Document-level script, you then click on Document JavaScripts. A dialog opens where you will enter the name of the script (for example "highlighting". Then, a text editing box opens, where you can enter code. Select everything and delete it. Then add the code as described above. Confirm and close dialogs.
For the willClose script, click on Set Document Actions. A dialog opens where you can chose the events. Select Document will close. A text edigint box opens, where you can enter code. Enter the code as described above. Confirm and close dialogs.
Save the document and reopen it.
Hope this can help.
-
16. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 8, 2014 8:22 AM (in response to pinkstonms)Thanks for the detailed instructions. I inserted the code per your instructions into the appropriate panels. It didn't appear to fix the issue. When I open the pdf in Chrome it still has the blue overlays on the Buttons. Perhaps this is because the buttons were created in InDesign? It looks like I may have to try recreating all of my buttons in Acrobat. There are close to a hundred of them so I was hoping to avoid that.
-
17. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 8, 2014 8:43 AM (in response to geigreg)My buttons were created in InDesign as well and this worked perfectly. You must be missing something. If you could send me one page with buttons on it I will take a look.
-
18. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 8, 2014 9:03 AM (in response to pinkstonms) -
19. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 8, 2014 9:06 AM (in response to geigreg) -
20. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 22, 2014 11:12 AM (in response to geigreg)Sorry took so long to get back been swamped but it looks like you have it all set up correctly.
-
21. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 22, 2014 11:21 AM (in response to pinkstonms)No worries. It was kind of you to offer so no pressure! I think I am going to have to redo all the buttons in Acrobat Pro instead. I tried a test making them in Acrobat and the issue of the tinted overlay didn't show up. Not looking forward to it as there are about a hundred of them but probably a couple hours work. Wish I had known it was an issue beforehand but at least it looks like there is a workaround.
Thanks!
-
22. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 22, 2014 1:22 PM (in response to geigreg)I just found out that my last PDF doesn't render correctly in Chrome. Chrome defaults to it's native PDF viewer and it ignores the javascript. Damn Steve Jobs this would not be an issue If I could use Flash!!!!!! I will let you know if I find a solution.
-
23. Re: Button Highlight in Interactive PDF from InDesign CC
geigreg Sep 22, 2014 2:42 PM (in response to pinkstonms)Ouch. Yes, you might have to resort to the Acrobat method. It seems to work for me.
-
24. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 22, 2014 5:13 PM (in response to geigreg)I deployed the method I posted above but the JavaScript is ignored by Chromes PDF viewer. If it is working for you you must have disabled it in your Chrome settings.
-
25. Re: Button Highlight in Interactive PDF from InDesign CC
Petteri_Paananen Sep 22, 2014 10:14 PM (in response to pinkstonms)pinkstonms wrote:
Damn Steve Jobs this would not be an issue If I could use Flash!!!!!! I will let you know if I find a solution.
Flash and Interactive PDF are equally bad formats, Interactive PDF may be even worse.. it may work properly only if user opens PDF to Adobe Reader or Acrobat (depending on features you have used).
Flash works probably with most browsers.
Neither works well with mobile devices.
If you are looking for solution that works with every device and platform, I suggest HTML/HTML5.
There´s quite good online form services with intuitive form builders, that can output HTML form for you, host it and even collect answers....
-
26. Re: Button Highlight in Interactive PDF from InDesign CC
pinkstonms Sep 23, 2014 4:29 AM (in response to Petteri_Paananen)My PDF just has some navigation buttons in it mostly and I would be happy if I could get the to render without a BLUE box on top of them, totally destroys the design and makes the button text difficult to read. This is crazy. I understand if it as field that is required to be filled in I could live with that but a Button? why should it appear with a form field blue box on top?
-
27. Re: Button Highlight in Interactive PDF from InDesign CC
moonsterjo Mar 17, 2015 6:09 AM (in response to pinkstonms)var rths = app.runtimeHighlight ;
app.runtimeHighlight = false ;
false
SyntaxError: missing ; before statement
2:
SyntaxError: missing ; before statement
2:
SyntaxError: missing ; before statement
2:
ReferenceError: rths is not defined
1:Doc:Close
Would you be able to help me with the above?
Thanks.