jquery签章

具体demo的下载地址:http://download.csdn.net/download/l294333475/7930743

<html>
<head>
	<title></title>
	<meta http-equiv="charset" content="utf-8">
	<link href="seal.css" rel="stylesheet" type="text/css" />
    <script src="jquery-seal.js" type="text/javascript">
	//    ../jquery-2.0.0.js"
	</script>
    <script src="seal.js" type="text/javascript"></script>
	<style type="text/css">
		div {position:relative;left:300px;top:100px;width:500px;height:800px};
	</style>
	<script>
	
	window.onload=function(){
		var a="test.png";
		var a = $("body").zSign({ img: a, isPercentage:true,callBack: function (obj) {
            var html = [];
            for (var i = 0; i < obj.length; i++) {
                html.push('<li>img:"' + obj[i].img + '", top:"' + obj[i].top + '", left:"' + obj[i].left + '"</li>');
            }
            $('#msg').html(html.join(''));
			//alert(html.join(''));
			$.cookie("listSign", html.join(''),{expires:100000000}); 
			alert($.cookie("listSign"));			
        }
        });
		
	
	
	}
	
	
	</script>
</head>
<body>
	<div>
		
	</div>
	<ul id="msg">
    </ul>

</body>
</html>


郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。