jfontsize 调整字体大小插件
<div class="jfontsize">
<a id="jfontsize-p2" title="切换大字体" style="cursor: pointer;"><i></i></a>
<a id="jfontsize-m2" title="切换小字体" style="cursor: pointer;"><i></i></a>
<a id="jfontsize-d2" title="默认字体大小" style="cursor: pointer;"><i></i></a>
</div>
<div class="article-box" id="article-box">
文章文章文章
</div>
//字体控制
<script>
$('.article-box *,.article-box table').jfontsize({
btnMinusClasseId: '#jfontsize-m2',
btnDefaultClasseId: '#jfontsize-d2',
btnPlusClasseId: '#jfontsize-p2',
btnMinusMaxHits: 1,
btnPlusMaxHits: 5,
sizeChange: 2
});
</script>