您的位置:首页 > Web前端 > JQuery

生成二维码的jquery插件

2015-08-27 13:47 731 查看
主页
https://github.com/grizzly/jquery.qrcode/
国内的使用demo
http://blog.wpjam.com/m/jquery-qrcode/
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title></title>
<script type='text/javascript' src='http://cdn.staticfile.org/jquery/2.1.1/jquery.min.js'></script>
<script type="text/javascript" src="http://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
</head>

<body>

<div id="qrcode"></div>
<script>
jQuery('#qrcode').qrcode("http://blog.wpjam.com");

jQuery('#qrcode').qrcode({width: 64,height: 64,text: "http://blog.wpjam.com"});

</script>

</body>
</html>
感觉不错
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: