基于jQuery的投票系统显示结果插件

2020-05-23 06:15:07易采站长站整理

{
var studyplay_present=settings[i].data/study_voteCount*100;
if(parseInt(studyplay_present)!=studyplay_present)
{
studyplay_present=studyplay_present.toFixed(2);
}
study_votestr +='<dd class=”dd”><div class=”fl”>’+settings[i].name+’:</div><div class=”outbar”><div class=”inbar” style=”width:’+studyplay_present+’%;background:’+settings[i].color+’;”></div></div> <div class=”fl”>’+studyplay_present+’% </div></dd>’;
}
container.find(‘#studyvote’).html(study_votestr)
}

插件下载
演示地址 http://demo.jb51.net/js/2011/studyplayvote/index.html
该文件的下载地址为:
studyplayvote.rar
希望朋友下载使用,有问题谢谢反馈