该用户从未签到
|
<%@page contentType="text/html" pageEncoding="UTF-8"%>
: C1 T7 \/ J* w! q& z' b- e. `<!DOCTYPE html> ) P( j# K9 b$ j; z
<html> 3 M: x4 ]' c# b6 i
<head> ( H' e& o/ W: c' c
<meta charset="UTF-8">
; i+ F2 ~1 b4 M4 d5 B% f4 u<title> jquery.qrcode.js</title> ; c" K# u$ R+ U
& L2 L! Y& l T: [<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script> : \1 x, k8 l& z& w m
<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script> _1 b) B# N# @% h) a3 ~' C
<script type="text/javascript" language="javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>" _- j6 e' e. D
--%>
) F" ?+ R; w3 A2 v! q
7 {6 s; ~8 Z: p! R<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>
1 ?% c( ~4 t5 @! ]( ?$ k --%><script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script>
& m: Z* @7 T( k# s, ?( G$ G" v& I5 q<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>* _2 _ l' T2 `$ s9 c- D
' C" P$ m" d& V! f<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.qrcode.min.js"></script>1 O& a1 t. t1 a
. _. K5 q2 l# u" z, [</head>
* f' k& ?% I D/ h, D. A( V<body> / k4 H5 u' u; ], n) k' }! s
<p>二维码实例:</p> / k0 l. q& \6 N. R v* I
<p>1:Render in table</p> ) t4 Z4 G3 ] a0 Q- S4 I# U. h
<div id="qrcodeTable"></div> ' }- P# F9 w' Z$ p" K
<p>2:Render in canvas</p> ; R" R' f# r6 k5 u/ H8 |' Q
<div id="qrcodeCanvas"></div>
, b2 P, {4 x. ~( ^" K, M<script>
0 u/ }4 l3 F T( H$ {+ \ jQuery('#qrcodeTable').qrcode({ ' U5 O! R& e- j* `4 y0 b- `
render : "table",
3 h1 ~7 o" a1 E: m+ l# [ width :128,
2 o- V0 H& ]7 j; F/ B height :128, 9 `; g4 ^% U: E/ P+ ~
text : "http://jetienne.com" % C% M2 O; a9 s' W- k) m4 h7 L& t
});
+ f1 m/ v& U* Q8 H; o. d8 B! r) p jQuery('#qrcodeCanvas').qrcode({ / V, K: H& \+ D
width :128,
. H; e% c) x& W0 Z0 ?- j height :128,
- V3 i0 i# Z) f3 f5 h& h text : "www.baidu.com" : {' E) [3 K- D
});
% V1 K9 w: i; z0 b2 ^1 T</script>
) {2 z* I2 A& a1 X: f</body>
0 ]& K: c' Z' p</html>' x7 |: {' K8 m Z
$ J" o( _; f0 ?( |: q8 Q @ |
|