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

您现在的位置是:虫虫源码 > 其他 > 一种自动调整元素的字体大小的jQuery插件

一种自动调整元素的字体大小的jQuery插件

资 源 简 介

jQDynamicFontSize adjust the font-size dynamically to make a headline or content fit into a given number of lines. In a production system, use jquery-dynamicfontsize.min.js. For debugging or developing, use jquery.dynamicfontsize.js. Include a reference to the script after loading jQuery: Usage: $("#idOfElement").dynamicFontSize(); This will attempt to scale the font size of the element down with 10% in 3 iterations, stopping when a value has been found that allows the element to only use one text line. $("h1").dynamicFontSize(); This will attempt to scale all h1 elements. Options supported: * squeezeFactor: A float value that will be used as the squeeze factor for each step. 0.1 means that we"ll attempt to scale the font-size down 10% for each iteration. Defaults to 0.1. * lines: Th

文 件 列 表

jqdynamicfontsize
INSTALL
lib
LICENSE

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP