jQuery的调整进度条 [英] jquery align progress bar
本文介绍了jQuery的调整进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的情况:
HTML
<p>Controlla mail</p>
<div class="progressbar"></div>
JS
jQuery(function($) {
$(".progressbar").progressbar({ value: 10 });
});
http://jsfiddle.net/michelejs/SByqS/
我如何能配合检查邮件文字的进度条?
How can I align the progress bar with check mail text?
推荐答案
在这里: DEMO的jsfiddle
或者使用jQuery只有:
Or with jQuery only:
jQuery(function($) {
$(".progressbar").progressbar({
value: 10
}).css({marginLeft:'100px'}).prev('p').css({float:'left', lineHeight:'34px'});
});
这篇关于jQuery的调整进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文