I have some pdf files in my folder.when i click on the pdf i will get the file preview in iframe.But the viewer-pdf-toolbar shows the title of method.How i will empty the title and the preview is not working in mozilla.It gives a popup to save or open the file. Please give some solution for my issues.
$(GetCurrentContextByClass() + "#document").html('<span class="pun" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;">.</span><span class="pln" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;">replace</span><span class="pun" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;">(</span><span class="str" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #7d2727;">"_FilePath"</span><span class="pun" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;">,</span><span class="pln" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;"> documentName</span><span class="pun" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;">)</span> <span class="pun" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #303336;">+</span> <span class="str" style="margin: 0px; 0px; 0px; font-style: inherit; inherit; font-weight: inherit; inherit; font-size: inherit; inherit; font-family: inherit; vertical-align: baseline; color: #7d2727;">'id="documentViewIframe" onload="LoadLoader();" frameborder="0" allowfullscreen style="overflow: auto;min-height: 550px;height: 700px;width: 100%;" >');