public/plugins/jquery/jquery-qrcode/index.html

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!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>
  <title></title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="generator" content="pandoc" />
  <meta name="date" content="" />
</head>
<body>
<div id="jquery.qrcode.js"
><h1
  >jquery.qrcode.js</h1
  ><p
  ><a href='http://jeromeetienne.github.com/jquery-qrcode'>jquery.qrcode.js</a> is <em
    >jquery plugin for a pure browser qrcode generation</em
    >. It allow you to easily add qrcode to your webpages. It is standalone, less than 4k after minify+gzip, no image download. It doesnt rely on external services which go on and off, or add latency while loading. It is based on a <a href='http://www.d-project.com/qrcode/index.html'>library</a> which build qrcode in various language. <a href='http://jeromeetienne.github.com/jquery-qrcode'>jquery.qrcode.js</a> wraps it to make it easy to include in your own code.</p
  ><p
  >Show, dont tell, here is a <a href='examples/basic.html'>example</a></p
  ><div id="how-to-use-it"
  ><h2
    >How to Use It</h2
    ><p
    >Let me walk you thru it. First include it in your webpage with the usual script tag</p
    ><pre
    ><code
      >&lt;script type=&quot;text/javascript&quot; src=&quot;jquery.qrcode.min.js&quot;&gt;&lt;/script&gt;
</code
      ></pre
    ><p
    >Then create a DOM element which gonna contains the generated qrcode image. Lets say a div</p
    ><pre
    ><code
      >&lt;div id=&quot;qrcode&quot;&gt;&lt;/div&gt;
</code
      ></pre
    ><p
    >Then you add the <em
      >qrcode</em
      > in this container by</p
    ><pre
    ><code
      >jquery('#qrcode').qrcode(&quot;this plugin is great&quot;);
</code
      ></pre
    ><p
    >This is it. see it <a href='examples/basic.html'>live</a>.</p
    ></div
  ><div id="conclusion"
  ><h2
    >Conclusion</h2
    ><p
    ><a href='http://jeromeetienne.github.com/jquery-qrcode'>jquery.qrcode.js</a> is available on github <a href='https://github.com/jeromeetienne/jquery-qrcode'>here</a> under <a href='https://github.com/jeromeetienne/jquery-qrcode/blob/master/MIT-LICENSE.txt'>MIT license</a>. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it :)</p
    ></div
  ></div
>
<style>
body {
    margin: auto;
    padding-right: 1em;
    padding-left: 1em;
后面还有 98 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。