该用户从未签到
|
<%@page contentType="text/html" pageEncoding="UTF-8"%> 0 Z" B, O7 z/ Z0 |% N( Z3 S
<!DOCTYPE html> 4 U# `' \ y8 D* X% g
<html>
/ M1 M3 r8 B5 i7 a<head> ! ] g+ [% y% K& H
<meta charset="UTF-8">
$ ?! u1 u9 B& k$ e( l) `" [. B<title> jquery.qrcode.js</title>
5 w) F0 D5 J& l2 v/ ~+ H
) J3 K; a: i+ b1 |<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script> ( S# M) Z/ }, a# h, v
<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>
, S; a) [7 Z' k2 u( W- s* a<script type="text/javascript" language="javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>
* C, D& ~, y& |* f --%>
6 L% R- \$ R5 |( w q6 l' ?% l0 e& l d" \" a5 |) x( P) }
<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>8 B, Z. w7 `- v5 `" k. J
--%><script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script>- |) P+ V4 j0 Z4 Y8 k
<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>
- x Z, O6 x6 F% u) \6 E5 B1 i1 P* ^- Y) X* l, n
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.qrcode.min.js"></script>' i/ C5 f8 v# g3 p' T7 ] O6 |
( ^8 w" l/ D0 F. a, W
</head> 5 u8 i$ Y3 |! q8 M" N+ d
<body>
- M$ _: k- q) u0 G<p>二维码实例:</p>
; ?9 W* I T8 ^- p- l$ |<p>1:Render in table</p> 2 L. z2 H, D& [2 u: n
<div id="qrcodeTable"></div> % a3 p; U% s; \" J3 {
<p>2:Render in canvas</p>
0 \7 ?& P" R! Q1 v0 B<div id="qrcodeCanvas"></div>
3 Q. k, W4 f8 `+ ^( Q" z<script>9 r% O% ~* I" m4 `
jQuery('#qrcodeTable').qrcode({ & d( Z' p+ Z! d9 F$ ~$ R# {
render : "table", . r( g. [7 \2 `; M) t( y1 O
width :128, 9 W' S5 d0 x: ~8 h9 v, q" {
height :128,
* R5 z$ `3 V; M, q9 A text : "http://jetienne.com" 5 k% f$ `% r7 ~: ~ k
});
\$ I' G' `4 G: x- y jQuery('#qrcodeCanvas').qrcode({
" B# n' B0 r% o) ~* A# ` width :128, . ]0 ~/ a d3 _& H6 A+ e5 U
height :128,
4 c! r7 W) i& K( I0 p4 r) u text : "www.baidu.com" : E* p1 w9 o$ u3 k Q, _
}); 1 m7 @1 R- z1 ?% j6 b2 o5 N o
</script> + k. C! l6 \4 {5 W0 O* D
</body> ' H7 F" I, W! t: Q
</html>
% p* l. s+ h. T* S% H% m7 U% B% x6 \' \1 x
|
|