Questions tagged [zeroclipboard]

Zero Clipboard is library that provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface. The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.

Zero Clipboard

The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface. The "Zero" signifies that the library is invisible and the user interface is left entirely up to you.

This library is fully compatible with Flash Player 10, which requires that the clipboard copy operation be initiated by a user click event inside the Flash movie. This is achieved by automatically floating the invisible movie on top of a DOM element of your choice. Standard mouse events are even propagated out to your DOM element, so you can still have rollover and mouse down effects.

240 questions
2
votes
2 answers

How to show tooltip after copying using zero-clipboard?

I am trying to emulate the behavior seen on github and the bootstrap site, where the the tooltip on the zero-clipboard button changes after copying from something like "Copy to Clipboard" to "Copied". Both sites seem to use an element called…
sandlb
  • 198
  • 2
  • 9
2
votes
1 answer

Why ZeroClipboard works on second click?

i posted here an example of my problem and not my real code (too much code...). The button "copy to clipboard" doesnt copy anything on the first click... only on the second:( Please help JSP file
Erez
  • 502
  • 3
  • 6
  • 17
2
votes
1 answer

How to debug? ZeroClipboard loaded no error&warning but not copying

I've confused for this question two days. ZeroClipboard works no error & warning, but it can not copy the content. I'd check the the Ans at ZeroClipboard: swf loaded, but not working, but still not works well; I did not know how to debug it- -, The…
kkt
  • 81
  • 1
  • 9
2
votes
1 answer

Zeroclipboard hover issue

I try to change the color of the entire on hover, however I can't get it to work with Zeroclipboard, also the cursor doesn't change, does anyone have an idea on how to get this to work? (Atleast in my browser: Google Chrome Version…
Dennis P
  • 36
  • 2
2
votes
1 answer

ZeroClipboard - mouse events don't fire

I've been implementing ZeroClipboard into an application and I've hit a snag getting mouse events to register. Details are as follows: ZeroClipboard Version: 2.1.6 (https://github.com/zeroclipboard/zeroclipboard) jQuery Version: 2.1.1 Backbone…
aeksco
  • 23
  • 2
2
votes
3 answers

ZeroClipboard and RequireJS - ZeroClipboard is not defined

I'm attempting to use ZeroClipboard inside an AngularJS/RequireJS Application. I have put ZeroClipboard.js into the location /assets/js/vendors/ZeroClipboard.js I have set up the main.js of the RequireJS application main.js requirejs.config({ …
ngplayground
  • 20,365
  • 36
  • 94
  • 173
2
votes
0 answers

ZeroClipboard on dynamically generate elements?

I have a set of divs that are all dynamically generated. Within them are clipboard icons, that, when clicked, copy the element's data-hash to the clipboard (not yet functional). These icons have the class '.fa-clipboard' from FontAwesome. Minimal…
j0sh77
  • 31
  • 4
2
votes
2 answers

Copy and Paste formatted text using zclip plugin in Javascript

I am using zclip plugin for copying text to clipboard. It works fine for plain text. But when I try to copy some formatted text say for eg: I am having div with html as
Copied Text
and when I apply zclip on…
Mazzu
  • 2,799
  • 20
  • 30
2
votes
1 answer

How can I get a simple ZeroClipboard copy-to-clipboard setup working within jQuery on jsFiddle on a single click?

I'm struggling to get ZeroClipboard working within a jQuery context. The basic usage I'm after is clipping the text of each div with the class copy on click. The following jsFiddle works on double click using the stable ZeroClipboard…
Ryan
  • 14,682
  • 32
  • 106
  • 179
2
votes
5 answers

how to copy text field value to clipboard using jquery?

I want copy text field value to clipboard using jquery.
2
votes
2 answers

zeroclipboard hover

I'm trying to implement the flash component used on retailmenot.com and I'm facing some problems with it. After several days of searching and such I succeed on doing the zeroclipboard flash element to go over my multiple coupon codes and when I…
Andrei C
  • 211
  • 3
  • 10
2
votes
1 answer

ZeroClipboard Example-What's missing?

I am trying to figure out how to use ZeroClipboard to make a little browser app to copy common strings I use with a simple mouse click. I am quite new to HTML/CSS/JS so before trying to apply ZeroClipboard to my own project, I wanted to get it…
maptastik
  • 135
  • 1
  • 6
2
votes
0 answers

Can ZeroClipboard work on multiple buttons of the same id

I have applied Zeroclipboard functionality to copy the text from a div of post title in blogger , but it only takes the first button as the flash object and copies only the first title of the posts .... I want to apply this script for copying every…
Hussain
  • 73
  • 1
  • 1
  • 11
2
votes
1 answer

Cannot implement ZeroClipboard copy to clipboard directive in angular 1.2.3

app.directive('copyPost', ['$window', '$filter', 'ZeroClipboardPath', function ($window, $filter, ZeroClipboardPath) { return { scope: { postFn: '&', }, restrict: 'A', link: function (scope, element, attrs) { …
Oleg Belousov
  • 9,981
  • 14
  • 72
  • 127
2
votes
0 answers

load event not triggered in zeroclipboard.js

I'm using zeroclipboard.js in my application to copy the text from the div. its working fine when we run it in visual studio but its nor working in file open mode file:///. zeroclipboard.swf file is correctly loaded in the file open mode. After a…
Karthi Keyan
  • 4,243
  • 5
  • 24
  • 47