ZeroClipboard and zeroclipboard

Source: Internet
Author: User

ZeroClipboard and zeroclipboard

1. Functions of ZeroClipboard:

With Zero Clipboard, you can easily and quickly copy content to the Clipboard, similar to clicking the "copy" button on some webpages to copy content in the corresponding area.

2. How to Use ZeroClipboard:

<%@ Page language = "java" contentType = "text/html; charset = UTF-8" pageEncoding = "UTF-8" %> <% String basePath = request. getScheme () + ": //" + request. getServerName () + ":" + request. getServerPort () + request. getContextPath () + "/"; %> <! Doctype html public "-// W3C // dtd html 4.01 Transitional // EN"> Note: The code above contains several plug-in files that can be found in resources.

0 point resource download]

Related Websites:Http://code.ciaoca.com/javascript/zeroclipboard/


If ZeroClipboard in javascript can be copied without clicking the button, you only need to set the so-called another button id to copycardid, that is

The DOM element means that the button's element also matches the settings as long as the id is:

<Div id = copycardid> also copy in the vertex </div>

Note: The whole page can store the same ID. When there is an element idcopycardid, its element id can be set to another copycardid.
For legend private server experts, please go to the website for the next version

Www. sf028. com

Download resources. See the tutorial above.

Try it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.