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

您现在的位置是:虫虫源码 > 其他 > A jQuery plugin providing cross-browser vertical centering

A jQuery plugin providing cross-browser vertical centering

  • 资源大小:3.63 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Description vAlignMiddle is a jQuery plugin providing cross-browser vertical centering. It is intended primarily for circumstances where the height of elements to be vertically centered is not known at design-time. For example, a menu bar where anchor elements are to be vertically centered in a list and some, but not all, have wrapping lines of text (see demo download). ## Usage ## jQuery("element(s) to be centered").vAlignMiddle(options); ## Options ## An Object consisting of two optional parameters: 1. addToTop: a Number (may be negative) used to move the centered item up or down as needed. 2. debug: a Boolean that toggles the display of element height information printed to the Firebug console (or other solution supporting console.log()). ## Demo ## See demo under "Featured Downloads" to the right of this page. ## Example ## ```

文 件 列 表

demo.html
js
jQuery.vAlignMiddle.js
jQuery.vAlignMiddle.min.js
VIP VIP
  • Zzz 47分钟前 成为了本站会员

  • Katou Megumi 2小时前 成为了本站会员

  • 7小时前 成为了本站会员

  • 流浪 12小时前 成为了本站会员

  • 也是一生 12小时前 成为了本站会员

  • king666 1天前 成为了本站会员

  • ﹏約啶℡ 1天前 成为了本站会员

  • Long for 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • 金. 1天前 成为了本站会员

0.166264s