<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="css/comment_starPlugin.css" />
<script src="js/jquery-1.7.2.js"></script>
<script src="js/comment_starPlugin_min.js"></script>
<title>星级评论--打分插件</title>
<script language="JavaScript">
$().ready(function(){
$.starComment.initStar("starID1",{score:3});
$.starComment.initStar("starID2",{score:3,isEdit:false});
$.starComment.initStar("starID3",{level:7});
$.starComment.initStar("starID4",{titleBF:function(item,index){
$(item).attr("title","你选择了"+index+"星");
}});
$.starComment.initStar("starID5",{hiddenID:'wjlmgqsID',hiddenName:'wjlmgqsName'});
});
</script>
</head>
<body>
<!--
ScoreType : "保存打分值的隐藏域input元素的name属性"//默认:BusinessScore
DefaultScore : "加载的默认评分"
isEdit : "是否可以编辑" //true,false
-->
<div class="z_r_Wrap fr">
<div class="new_evaluate" style="height:432px;">
<table width="590" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr><td>开始--有默认值: <input type="hidden" id="starID1" /> 结束</td> </tr>
<tr><td>开始--不可编辑: <input type="hidden" id="starID2" /> 结束</td> </tr>
<tr><td>开始--设置级数: <input type="hidden" id="starID3" /> 结束</td> </tr>
<tr><td>开始--设置title: <input type="hidden" id="starID4" /> 结束</td> </tr>
<tr><td>开始--设置ID/Name: <input type="hidden" id="starID5" /> 结束</td> </tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>