码迷,mamicode.com
首页 > 其他好文 > 详细

jRating五星评级

时间:2017-11-14 22:23:49      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:meta   document   jquer   can   示例   type   on()   body   style   

<!DOCTYPE html>
<html>
<head>
	<title>jrating使用示例</title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="jquery/jRating.jquery.css" media="screen">
	<script type="text/javascript" src="jquery/jquery.js"></script>
	<script type="text/javascript" src="jquery/jRating.jquery.js"></script>

</head>
<body>
<div class="example">
	<div class="basic" data="20"></div>	
</div>
<script type="text/javascript">
	$(document).ready(function(){
		$(‘.basic‘).jRating({
			canRateAgain:true,
			nbRates:3
		});

	});	
</script>
</body>
</html>

  

jRating五星评级

标签:meta   document   jquer   can   示例   type   on()   body   style   

原文地址:http://www.cnblogs.com/qfdy123/p/7834631.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!