【文件属性】:
文件名称:syncHeight:自动同步与给定选择器匹配的元素的高度属性的 jQuery 插件
文件大小:85KB
文件格式:ZIP
更新时间:2021-06-15 19:11:51
HTML
jQuery 同步高度插件
自动同步与给定选择器匹配的元素的高度属性的 jQuery 插件。
用法:
// use $(window).load instead of $(document).ready to wait until all images have been loaded.
// Otherwise common height may be calculated without taking all images into account
$(window).load(function(){
$('p').syncHeight({ 'updateOnResize': true});
});
// and to undo the syncing again run (here when the window is smaller than 500px):
$(wi
【文件预览】:
syncHeight-master
----.gitignore(78B)
----README.md(1KB)
----jquery.syncheight.js(3KB)
----jquery-1.9.1.js(262KB)
----Gruntfile.js(2KB)
----index-sync-siblings-only.html(2KB)
----package.json(429B)
----jquery.syncHeight.min.js(1KB)
----index-border-box.html(2KB)
----.editorconfig(359B)
----index.html(2KB)