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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mageswar005
    New Member
    • Mar 2008
    • 72

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

    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
    [code=javascript]
    function poponload(strs)
    {

    var path="d:/files/hello.pdf";

    testwindow= window.open (""+path+"", "mywindow","loc ation=0,status= 0,scrollbars=1, toolbar=no,resi zable=yes,width =500,height=500 ");
    testwindow.move To(0,0);

    }
    [/code]

    Please give me the solution for above issue.
    Thanks,
    M.Mageswaran
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    since in most cases PDF display is done by plugins, I see no possibility to tweak that via Javascript.

    Comment

    Working...