标记PDF链接 [英] Marking PDF links

查看:70
本文介绍了标记PDF链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎记得阅读有关某项功能的内容,以便您可以将不同风格的

应用于不同类型的链接。


例如本地和非现场或自动在一些

域名链接旁边放置徽标。


我想在pdf链接中添加一个图标。


我正在采取以下形式之后:链接(" * .pdf){properties ...}


有谁知道的名字关键词或语法,或者这个

是否可能?

-

加拿大心灵产品,Roedy Green。
http://mindprod.com Java自定义编程,咨询和指导。

解决方案

Roedy Green写道:

我似乎记得读到一个功能,以便你可以应用不同的风格不同种类的链接。

例如本地和非现场或自动在一些
域链接旁边放置徽标。



http://www.w3.org/TR/css3-selectors/...ute-substrings

请注意,这是一份工作草案,而非最终规范。在野外有一些实验性的实验实施,但一切仍然需要改变




-

David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/>

Home是〜/ .bashrc的地方


David Dorward< do*****@yahoo.com>写道:

Roedy Green写道:

我似乎记得读到一个功能,以便你可以应用
不同的风格不同种类的链接。

例如本地和非现场或自动在一些
域链接旁边放置徽标。



http://www.w3.org/TR/css3-selectors/...ute-substrings
请注意,这是工作草案,而不是最终规范。野外有一些实验性实施,但一切仍然需要改变。




如果你使用type =" application / PDF"对于PDF资源的链接,你可以在CSS中使用

属性选择器。


但是,这将是徒劳的。将PDF链接指示为PDF链接非常有用,并且通常是必要的,因为遵循这样的链接

可能会使用户感到困惑,导致相当大的延迟,导致空白窗口,

崩溃浏览器,为用户提供他无法使用的数据,因为PDF是如此

无法访问格式(尽管所有的Adobe市场营销),或者根本无法由于用户系统上没有任何PDF查看器,所以有用的东西是
。但是,

这些点中的许多点与浏览

不使用样式表的情况(或预期的视觉效果)相同或更相关

指示失败,例如因为它依赖于颜色而且用户是盲目的b $ b。


因此,最好的方法就像是

"在(PDF)文件Foo Bar中有更多详细信息。


-

Yucca, http://www.cs.tut.fi/~jkorpela/


On Sun,2006年1月22日11:33:26 +0000(UTC),Jukka K. Korpela

< jk ** ****@cs.tut.fi>写道,引用或间接引用某人

说:

但这将是一种无用的练习。将PDF链接指示为PDF链接很有用,而且往往是必不可少的,因为遵循这样的链接可能会使用户感到困惑,造成相当大的延迟,导致窗口空白,崩溃浏览器,为用户提供他无法使用的数据,因为PDF格式无法访问(尽管所有的Adobe市场营销),或者由于缺少任何PDF查看器而无法做任何有用的事情。用户的系统。




但是,如果其他人选择仅以PDF格式提供他们的论文

格式,你别无选择你想链接到他们。我能做的最好的我想要的是警告人们链接到PDF文件。

-

加拿大心灵产品,Roedy Green 。
http://mindprod.com Java自定义编程,咨询和指导。 />


I seem to recall reading about a feature so that you could apply
different styles to different kinds of link.

e.g. local and offsite or to automatically put a logo beside some
domain links.

I would like to add an icon to pdf links.

I''m after something of the form a:link("*.pdf) { properties ... }

Does anyone know the names of the keywords or the syntax, or if this
is even possible?
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

解决方案

Roedy Green wrote:

I seem to recall reading about a feature so that you could apply
different styles to different kinds of link.

e.g. local and offsite or to automatically put a logo beside some
domain links.



http://www.w3.org/TR/css3-selectors/...ute-substrings

Note that this is a working draft, not a final spec. There are some
experimental implementions in the wild, but everything is still subject to
change.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


David Dorward <do*****@yahoo.com> wrote:

Roedy Green wrote:

I seem to recall reading about a feature so that you could apply
different styles to different kinds of link.

e.g. local and offsite or to automatically put a logo beside some
domain links.



http://www.w3.org/TR/css3-selectors/...ute-substrings

Note that this is a working draft, not a final spec. There are some
experimental implementions in the wild, but everything is still subject to
change.



If you use type="application/pdf" for links to PDF resources, you could use
attribute selectors in CSS for them.

That would be an exercise in futility, though. It is useful, and often
essential, to indicate PDF links as PDF links, since following such a link
may confuse the user, cause a considerable delay, result in a blank window,
crash the browser, give the user data that he cannot use because PDF is so
inaccessible a format (despite all the Adobe marketese), or simply fail to do
anything useful due to lack of any PDF viewer on the user''s system. However,
many of these points are equally relevant or more relevant in browsing
situations where style sheets are not in use (or the intended visual
indication fails miserably, e.g. because it relies on colors and the user is
blind).

Thus, the best approach is something like
"There are more details on this in the (PDF) document Foo Bar."

--
Yucca, http://www.cs.tut.fi/~jkorpela/


On Sun, 22 Jan 2006 11:33:26 +0000 (UTC), "Jukka K. Korpela"
<jk******@cs.tut.fi> wrote, quoted or indirectly quoted someone who
said :

That would be an exercise in futility, though. It is useful, and often
essential, to indicate PDF links as PDF links, since following such a link
may confuse the user, cause a considerable delay, result in a blank window,
crash the browser, give the user data that he cannot use because PDF is so
inaccessible a format (despite all the Adobe marketese), or simply fail to do
anything useful due to lack of any PDF viewer on the user''s system.



However, if others have elected to provide their papers only in PDF
format, you have no choice if you want to link to them. The best I
figured I could do is warn people a link was to a PDF document.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.


这篇关于标记PDF链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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