PDF INTO MSIE POPUP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paolo

    PDF INTO MSIE POPUP

    Hi at all

    I tryed to show a pdf into a popup but with msie page is blank

    My code:



    var pdf="pdfname.pd f";

    if (pdf!==""){

    var p = "dialogWidt h: 480px; dialogHeight: 380px; center: 1; scroll: 1;
    resizable=yes;" ;

    if (document.all) {

    window.showModa lDialog("pdf, null, p);

    }

    else
    {window.open(pd f,"","toolbar=n o,location=no,s crollbars=no,re sizable=yes,wid th=450,height=3 50");}

    }



    Help please

    Thank in advance


  • =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?=

    #2
    Re: PDF INTO MSIE POPUP

    Paolo escribió:
    window.showModa lDialog("pdf, null, p);
    Don't you get a JavaScript error due to unmatched quotes?



    --
    -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
    -- Mi sitio sobre programación web: http://bits.demogracia.com
    -- Mi web de humor al baño María: http://www.demogracia.com
    --

    Comment

    • Paolo

      #3
      Re: PDF INTO MSIE POPUP

      ""Álvaro G. Vicario""

      wrote
      >window.showMod alDialog("pdf, null, p);
      >
      Don't you get a JavaScript error due to unmatched quotes?
      >
      >
      >
      sorry for error rewriting my script


      window.showModa lDialog(pdf, null, p);



      but it always do not work

      It open a blank page


      Comment

      Working...