该用户从未签到
|
<%@page contentType="text/html" pageEncoding="UTF-8"%> 7 t; Q" w% I4 z) n' }1 b
<!DOCTYPE html> # K& w( s5 W8 g& a
<html>
* H* ~: m" v k3 n+ D4 J/ T& Y1 L<head>
) E1 t5 | E( Z2 ~2 |0 T ?7 ?<meta charset="UTF-8"> 3 b/ ? O: L& B& T/ G4 A3 K
<title> jquery.qrcode.js</title>
0 d+ _6 {' d3 _& z# a
0 e0 y0 S' Z- Z% J<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script>
6 p# j5 x: W9 @6 f A<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>
- ~3 X( v/ j: Q" V+ s4 E/ O& @<script type="text/javascript" language="javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>) [" E+ Z* L( O1 F
--%>; U( d1 _) G N5 D
; e" q! ^3 i! u/ K) |
<%-- <script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery-1.9.1.min.js"></script>
+ z- a3 f7 F- q --%><script type="text/javascript" src="<%=request.getContextPath()%>/src/jquery.qrcode.js"></script>
) h( p7 y! L( `7 |. p5 L; h; `<script type="text/javascript" src="<%=request.getContextPath()%>/src/qrcode.js"></script>) \1 Z6 P0 K0 b, B4 `# H" n5 I5 e/ z
6 s7 O% } k. {+ ]
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.qrcode.min.js"></script>4 e$ x: h& X, h6 p7 u+ g3 N
- J5 H! K) k$ t, B8 m" ^, y. H
</head>
" P; d h4 _- c* o8 K<body> # O2 N( u& U( ^6 l- Z& i5 J
<p>二维码实例:</p>
- _! K* i: T2 G, u. {0 ~0 \<p>1:Render in table</p>
, \" v: F! O7 } P2 Y4 {9 V<div id="qrcodeTable"></div>
6 ]7 c# {8 M# n5 F& a<p>2:Render in canvas</p>
/ \: D" K8 V! j: K9 a: W<div id="qrcodeCanvas"></div>
! m/ B+ ^! |+ t8 a }. p/ k<script>
: P- c# M$ Y( M! U ~& [ jQuery('#qrcodeTable').qrcode({ 1 g M0 E- A' t" ]/ p& ]
render : "table", 0 T# E$ \+ n' Z. E$ c. ~ c
width :128,
' `6 l( \8 z0 a( l# p6 {- K5 z height :128,
3 k# ?9 p2 L+ j! ?" Y; y text : "http://jetienne.com" & K* B5 S/ P+ U/ u1 u
}); / K% ~* d4 B ?' {$ @. e
jQuery('#qrcodeCanvas').qrcode({ ( V( `% E0 `7 w5 M5 f ~0 v# Q
width :128,
8 Y) @& b' q; C9 S8 y e7 {8 [) H height :128, ) J) q/ U! J: s( P9 z$ O
text : "www.baidu.com"
5 A# E! W g9 z: P7 J }); ! K/ ]! @1 z8 A
</script>
, M5 c6 s( C( c1 z9 d</body>
' z) E5 N& A5 a' p: u</html>
2 I$ V' Q6 u3 R3 w5 J
9 x; K+ _6 W3 I1 C2 B |
|