如何设置PDF的标题名称.在查看文档时(新选项卡) [英] How to set title name of the pdf. While viewing the Document(New Tab)

查看:113
本文介绍了如何设置PDF的标题名称.在查看文档时(新选项卡)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何更改pdf的标题名称.在查看文档

How can we change the title name of the pdf. While viewing the Document

我没有使用任何 控制器是模态的,我只是在href标记中传递url,但是我想 更改标题名称

I didnt use any controller are modal, I just pass the url in href tag, But I want to change the title name

<a target="_blank" @if($docDet[$csr['docid']]['docext'] == 'pdf') href="{{url($csr['docpath'])}}" @else href="{{url(ADMIN.'/downloaddoc/'.$docDet[$csr['docid']]['dockey'])}}" @endif class="icon-btn blue-btn" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="View"><i class="fa fa-eye"></i></a>

推荐答案

使用Jquery,我得到了此问题的确切解决方案.请看看

Using Jquery I got the exact solution for this problem. Please have a look

How to set title for pdf file opening in new tab (_blank) in browser

这篇关于如何设置PDF的标题名称.在查看文档时(新选项卡)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆