By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,301 Members | 3,690 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,301 IT Pros & Developers. It's quick & easy.

How to Hide the pdf toolbar from javascript open.window function

mageswar005
P: 72
Hello,
In My Application i have open the PDF file from javascript open.window function.In This scenario i want to control / Hide the PDF Toolbar from open.window function. My Current code is given below
Expand|Select|Wrap|Line Numbers
  1. function poponload(strs)
  2. {
  3.  
  4. var path="d:/files/hello.pdf";
  5.  
  6. testwindow= window.open (""+path+"", "mywindow","location=0,status=0,scrollbars=1,toolbar=no,resizable=yes,width=500,height=500");
  7. testwindow.moveTo(0,0);
  8.  
  9. }
  10.  
Please give me the solution for above issue.
Thanks,
M.Mageswaran
Mar 3 '09 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
since in most cases PDF display is done by plugins, I see no possibility to tweak that via Javascript.
Mar 3 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.