2023-12-19 分类:未分类
阅读() 评论(0)
本软件下载地址未录入,如想要软件请评论,我们会补上!
分为两种安装模式(任选其一) 插件下载:(仅提供UTF-8版本,GBK请自行转码) 在最终页面article_article.htm的合适位置插入以下代码: <LINK rel=stylesheet type=text/css href="{dede:global.cfg_phpurl/}/star/css/jRating.jquery.css" media=screen>
<s cript language=javas cript type=text/javas cript src="{dede:global.cfg_cmsurl/}/include/dedeajax2.js"></s cript>
<s cript type=text/javas cript src="{dede:global.cfg_phpurl/}/star/js/jquery.js"></s cript>
<s cript type=text/javas cript src="{dede:global.cfg_phpurl/}/star/js/jRating.jquery.js"></s cript>
<s cript type=text/javas cript src="{dede:global.cfg_phpurl/}/star/js/jNotify.jquery.js"></s cript>
<s cript type=text/javas cript>
$(document).ready>
(function(){
$('.star').jRating({
step:true,
length :5, //星星数
canRateAgain : true,
nbRates : 3,
showRateInffalse, //
鼠标悬停提示开关
onSuccess : function(){
jSuccess('感谢您的评价',{
HorizontalPosition:'center',
VerticalPosition:'top'
});
}, //自定义发布提示
});
});
var options = {
bigStarsPath : '{dede:global.cfg_phpurl/}/star/css/icons/stars.png', //星星图片路径
phpPath : '{dede:global.cfg_phpurl/}/jRating.php', //接收脚本
type : 'big',
};
function getstar(aid)
{
var taget_obj = document.getElementById('star');
var aid = '{dede:field.id/}';
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("{dede:global.cfg_phpurl/}/star_ajax.php?id="+aid); //调取评分部分
}
</s cript>
<DIV class=show_star>
<DIV class=star data-id="{dede:field.id/}" data-average="10"></DIV>
<DIV id=star></DIV>
<s cript language=javas cript type=text/javas cript>getstar();</s cript>
</DIV>>
标题:《dede插件-星星评分-5.7版本》
链接:
https://www.lvruan.com/app/94627
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。
LvRuan.com=绿软=绿盟=绿色软件联盟情怀第一 18年 老牌 下载站 绿色 安全 无广告 无捆绑