Hi,
It's an issue about "#" and "%23".
I have a pdf link with action = Run a Java Script. The Script is to
1) Open another pdf in another new browser (IE) window.
2) Point to the right "page" or "destination" in that new opened pdf.
The script I used in my test1.pdf is:
app.launchURL("http://mycompany.com/test2.pdf#page=2", true)
The problems are:
It works perfectly on my laptop, however, it doesn't work for my boss's laptop, what he got on his IE7 browser is "the page can not be found" and the address showing
http://mycompany.com/test2.pdf%23page=2
I don't know why this "%23" is on my boss computer while not on my computer, it is http://mycompany.com/test2.pdf#page=2 on my computer and it works fine to me.
Can somebody tell me what's wrong with my boss's computer?
I also tried adding encodeURI and with no luck.
Is it something to do with the setup? both my boss and I have same IE7 and Adobe Reader 8 and why IE on my laptop showing "#" and on my boss' showing "%23", how to fix that?
Thanks for your inputs
-Zhun
"%23" is simply the URL escape sequence for a hash.
http://www.dwfaq.com/tutorials/miscellaneous/special_links_encoding.asp