title: hide pop-out in google docs viewer using javascript-jquery
body: <p>I am using google docs viewer to display word and PDF files in dialog in my application. But my client need that document should not get download. So want to hide 'Pop-out' option. Please help me for it. Below is my code snippet : </p>
  
  <pre><code>&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/blitzer/jquery-ui.css" rel="stylesheet" type="text/css" /&gt;
  
  &lt;script type="text/javascript"&gt;
      $(function () {
          $("#btnShow").click(function () {
              $("#dialog").dialog({
                  modal: true,
                  title: '',
                  width: 750,
                  height: 450,
                  buttons: {
                      Close: function () {
                          $(this).dialog('close');
                      }                   
                  },
                  open: function () {
                      var object = "&lt;iframe id='resViewer' src='https://docs.google.com/viewer?url=my_file.pdf&amp;embedded=true' style='width: 700px; height: 700px;' frameborder='0'&gt;&lt;/iframe&gt;";                    
  
                      $("#dialog").html(object);
                  }
              });
          });
      });
  &lt;/script&gt;
  &lt;input id="btnShow" type="button" value="Show PDF" /&gt;
  &lt;div id="dialog" style="display: none"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Please help me. </p>
  
  <p>If anyone knows any other way to display word and PDF file both give me way or suggest for this.</p>
  
  <p>Thanks.</p>