首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > 一种替代字体预览的任何网站的Javascript书签。

一种替代字体预览的任何网站的Javascript书签。

资 源 简 介

About AltFontPrev is a JavaScript bookmarklet that allows you to preview how any website would look if a particular font was not available or a different font chosen. Each font used to style elements on the page is listed under its selector and, when clicked, is moved from being a fall-back to being the primary font. As well as choosing a font from the existing CSS declarations, you can type a custom font to override everything. Hopefully this will help you choose alternative fonts when perfecting your site’s typography. Installation Create a bookmark with the following as its address (line-wraps marked ↵): javascript:function%20addAFP()%20{var%20scriptElm%20=%20document.createElement("script"); ↵scriptElm.setAttribute("id","afp-js");scriptElm.setAttribute("type","text/javascript"); ↵scriptElm.setAttribute("src","http://altfontprev.googlecode.com/svn/tags/latest/afp.js"); ↵document.getElementsByTagName("head")[0]

文 件 列 表

afp.css
afp.js
sprites.png
test
.DS_Store
.svn
index.html
juice.ttf
style.css

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP