|
| 1 | +<!doctype html> |
| 2 | +<html> |
| 3 | + <head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta http-equiv="X-UA-Compatible" content="chrome=1"> |
| 6 | + <title>ZeroClipboard v2.x</title> |
| 7 | + <meta name="description" content="Copy to clipboard html browser."> |
| 8 | + <link rel="stylesheet" href="stylesheets/styles.css"> |
| 9 | + <link rel="icon" type="image/x-icon" href="favicon.ico" /> |
| 10 | + <script type="text/javascript" src="javascripts/scale.fix.js"></script> |
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> |
| 12 | + <!--[if lt IE 9]> |
| 13 | + <script type="text/javascript" src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> |
| 14 | + <![endif]--> |
| 15 | + </head> |
| 16 | + <body> |
| 17 | + <div class="wrapper"> |
| 18 | + <header class="section"> |
| 19 | + <h1 class="logo"><a href="/"><img width="371" height="90" src="../images/zeroclipboard-logo.png" alt="ZeroClipboard"/></a></h1> |
| 20 | + </header> |
| 21 | + <section class="section project-info"> |
| 22 | + <div class="columns"> |
| 23 | + <div class="column two-thirds"> |
| 24 | + <h2>ZeroClipboard v2.x</h2> |
| 25 | + <p>The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible <a href="http://en.wikipedia.org/wiki/Adobe_Flash">Adobe Flash</a> movie and a <a href="http://en.wikipedia.org/wiki/JavaScript">JavaScript</a> interface.</p> |
| 26 | + <p>The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.</p> |
| 27 | + </div> |
| 28 | + <div class="column one-third"> |
| 29 | + <a class="button zip" href="https://github.com/zeroclipboard/zeroclipboard/archive/v{{ site.zeroclipboard_version }}.zip"><svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" |
| 30 | + width="25px" height="25px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"> |
| 31 | +<path d="M256,288l128-128h-96V32h-64v128h-96L256,288z M372.363,235.636l-35.87,35.871L466.533,320L256,398.509L45.467,320 |
| 32 | + l130.04-48.493l-35.871-35.871L0,288v128l256,96l256-96V288L372.363,235.636z"/> |
| 33 | +</svg>v{{ site.zeroclipboard_version }} ZIP</a> |
| 34 | + <a class="button github" href="https://github.com/zeroclipboard/zeroclipboard"><svg version="1.1" id="Icons" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" |
| 35 | + width="34px" height="34px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"> |
| 36 | +<path id="Github__x28_alt_x29_" d="M70.709,15.029c1.17,2.657,1.928,7.07,0.797,10.301c4.625,3.949,6.214,13.549,3.982,21.394 |
| 37 | + C82.08,47.227,89.931,46.482,95,48.505c-4.738-0.609-11.209-1.804-17.32-1.388c-1.158,0.079-2.874-0.044-2.79,1.585 |
| 38 | + c7.075,0.556,14.104,1.16,19.913,2.973c-5.761-0.941-12.754-2.374-19.913-2.574c-2.957,5.835-8.907,8.703-17.122,9.307 |
| 39 | + c0.883,1.921,2.574,2.653,2.987,5.744c0.616,4.618-0.964,11.381,0.595,14.459c0.748,1.475,1.967,1.514,2.789,2.775 |
| 40 | + c-2.012,2.381-7.001-0.267-7.568-2.775c-0.973-4.295,1.482-10.954-1.193-13.865c0.189,4.684-1.108,11.264,0.199,15.449 |
| 41 | + c0.515,1.646,2.002,2.281,1.593,3.765c-9.352,0.95-5.444-12.104-6.972-19.809c-1.411,0.1-0.791,2.113-0.796,2.972 |
| 42 | + c-0.04,7.524,1.54,17.844-6.57,16.837c-0.237-1.581,1.088-2.119,1.593-3.563c1.479-4.234-0.277-10.542,0.401-15.651 |
| 43 | + c-3.095,2.333,0.325,10.48-1.593,14.657c-1.105,2.404-4.666,3.45-7.367,2.377c0.352-1.79,2.2-1.501,2.984-3.169 |
| 44 | + c1.096-2.325,0.008-5.674,0.399-9.111c-5.729,1.143-10.173-0.166-12.348-3.764c-0.973-1.615-1.214-3.52-2.39-4.951 |
| 45 | + c-1.17-1.432-3.04-1.625-3.582-3.564c7.095-1.708,7.367,7.302,13.739,7.525c1.954,0.071,2.97-0.564,4.778-0.989 |
| 46 | + c0.506-2.272,1.589-3.966,3.186-5.153c-7.929-1.085-14.477-3.554-17.522-9.504c-7.208,0.355-13.804,1.317-19.913,2.771 |
| 47 | + c5.545-2.014,12.384-2.736,19.715-2.973c-0.432-2.596-4.219-1.882-6.57-1.782C13.973,47.31,8.473,47.853,5,48.505 |
| 48 | + c5.034-1.795,12.098-1.571,18.918-1.585c-2.086-6.54-1.363-16.929,3.186-20.798c-1.289-3.249-0.889-8.563,0.796-11.093 |
| 49 | + c5.079,0.228,8.159,2.443,11.35,4.557c3.957-1.125,8.118-1.685,13.54-1.387c2.28,0.126,4.652,1.151,6.369,0.989 |
| 50 | + c1.685-0.158,3.542-2.049,5.178-2.771C66.468,15.476,68.271,15.117,70.709,15.029z"/> |
| 51 | +</svg>View On GitHub</a> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + </section> |
| 55 | + <section class="section project-questions"> |
| 56 | + <div class="columns"> |
| 57 | + <div class="column one-half"> |
| 58 | + <h2>Looking for <code>v1.x</code>?</h2> |
| 59 | + <p>This page is for the <code>v2.x</code> version of ZeroClipboard. For <code>v1.x</code>, please see the <a href="index-v1.x.html"><code>v1.x</code> demo page</a>.</p> |
| 60 | + </div> |
| 61 | + <div class="column one-half"> |
| 62 | + <h2>Testing this page locally</h2> |
| 63 | + <p>To test this page locally, checkout the <code>gh-pages</code> branch, install <a href="http://jekyllrb.com/">jekyll</a> and run <code>jekyll serve</code> to open <a href="http://localhost:4000/">localhost:4000</a>.</p> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | + </section> |
| 67 | + <section class="section project-demo"> |
| 68 | + <h2>Demo</h2> |
| 69 | + <div> |
| 70 | + <p><strong>Browser:</strong> <script type="text/javascript">document.write(navigator.userAgent);</script></p> |
| 71 | + <p><strong>Current config:</strong> <span id="current-demo-config">???</span></p> |
| 72 | + <p> |
| 73 | + <strong>Choose config:</strong> |
| 74 | + <!-- |
| 75 | + IMPORTANT!!! |
| 76 | + The version numbers listed in the following `demo-version` select menu control the actual script and SWF version |
| 77 | + targeting (see "boot.js"). This is the only place you need to change the version numbers! |
| 78 | + Double-check that the current stable release is marked as the only `option` with the `selected` attribute. |
| 79 | + --> |
| 80 | + <select id="demo-version"> |
| 81 | + <option>git:master</option> |
| 82 | + <option selected="selected">v2.1.5</option> |
| 83 | + <option>v2.1.4</option> |
| 84 | + <option>v2.1.3</option> |
| 85 | + <option>v2.1.2</option> |
| 86 | + <option>v2.1.1</option> |
| 87 | + <option>v2.1.0</option> |
| 88 | + <option>v2.0.3</option> |
| 89 | + <option>v2.0.2</option> |
| 90 | + <option>v2.0.1</option> |
| 91 | + <option>v2.0.0</option> |
| 92 | + <option>v2.0.0-beta.8</option> |
| 93 | + <option>v2.0.0-beta.7</option> |
| 94 | + <option>v2.0.0-beta.6</option> |
| 95 | + <option>v2.0.0-beta.5</option> |
| 96 | + <option>v2.0.0-beta.4</option> |
| 97 | + <option>v2.0.0-beta.3</option> |
| 98 | + <option>v2.0.0-beta.2</option> |
| 99 | + <option>v2.0.0-beta.1</option> |
| 100 | + </select> |
| 101 | + <select id="demo-type"> |
| 102 | + <option value="traditional" selected="selected">Traditional</option> |
| 103 | + <option value="amd">AMD</option> |
| 104 | + <option value="commonjs" disabled="disabled">CommonJS</option> |
| 105 | + </select> |
| 106 | + <button id="boot" type="button">Boot!</button> |
| 107 | + </p> |
| 108 | + <div class="demo-area columns"> |
| 109 | + <div class="column one-half"> |
| 110 | + <h2><label for="fe_text">Text to Copy:</label></h2> |
| 111 | + <textarea id="fe_text" cols="50" rows="3">Copy me!</textarea> |
| 112 | + <p class="align-right"><button id="d_clip_button" class="my_clip_button" title="Click me to copy to clipboard." data-clipboard-target="fe_text" data-clipboard-text="Default clipboard text from attribute">Copy To Clipboard...</button></p> |
| 113 | + </div> |
| 114 | + <div class="column one-half"> |
| 115 | + <h2><label for="testarea">Paste Here:</label></h2> |
| 116 | + <textarea id="testarea" cols="50" rows="3"></textarea> |
| 117 | + <p class="align-right"><button id="clear-test">Clear Test Area</button></p> |
| 118 | + </div> |
| 119 | + </div> |
| 120 | + <div class="debug-console"> |
| 121 | + <h4>Debug Console:</h4> |
| 122 | + <div id="d_debug"></div> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + </section> |
| 126 | + <footer class="section"> |
| 127 | + <p>Hosted on <a href="https://pages.github.com">GitHub Pages</a>. Designed by <a href="">Marcus Handa</a> & <a href="">Isaac Durazo</a></p> |
| 128 | + </footer> |
| 129 | + </div> |
| 130 | + <!--[if !IE]><script type="text/javascript">fixScale(document);</script><!--<![endif]--> |
| 131 | + <script type="text/javascript" src="javascripts/vendor/jquery.min.js"></script> |
| 132 | + <script type="text/javascript" src="javascripts/v2.x/boot.js"></script> |
| 133 | + <script type="text/javascript"> |
| 134 | + var _gauges = _gauges || []; |
| 135 | + (function() { |
| 136 | + var t = document.createElement('script'); |
| 137 | + t.type = 'text/javascript'; |
| 138 | + t.async = true; |
| 139 | + t.id = 'gauges-tracker'; |
| 140 | + t.setAttribute('data-site-id', '501d5697f5a1f502f2000057'); |
| 141 | + t.src = '//secure.gaug.es/track.js'; |
| 142 | + var s = document.getElementsByTagName('script')[0]; |
| 143 | + s.parentNode.insertBefore(t, s); |
| 144 | + })(); |
| 145 | + </script> |
| 146 | + </body> |
| 147 | +</html> |
0 commit comments