【文件属性】:
文件名称:jquery-favicons:将图标添加到页面上的锚点元素
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-19 21:18:15
HTML
jQuery Favicons插件
将图标添加到页面上的锚点元素。
随时查看。
要求
用法
< script src =" https://cdn.rawgit.com/christianv/jquery-favicons/gh-pages/jquery.favicons.min.js " > </ script >
< script >
$ ( 'a[href^="http://"]' ) . favicons ( ) ;
</ script >
您可以在本地下载或版本的脚本。 您还可以将jQuery选择器a[href^="http://"]更改为所需的任何内容。
配置
插件接受1个参数,它是config对象。
$ ( 'a' ) . favicons ( {
'classname' : 'sakai-favicon' ,
'service' : 'http://g
【文件预览】:
jquery-favicons-gh-pages
----.gitignore(15B)
----example.html(3KB)
----jquery.favicons.min.js(346B)
----LICENSE(359B)
----README.md(2KB)
----index.html(3KB)
----jquery.favicons.js(815B)