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
3
votes
1 answer

multiple zeroclipboard buttons

Having a hard time getting zeroclipboard to work with multiple buttons. I got it working with one (the first one) but I think my code is overcomplicated. HTML:
webbydevy
  • 1,200
  • 3
  • 15
  • 21
3
votes
1 answer

zeroclipboard glue on different co-ordinates when control change it's position

I have used copy to clipboard functionality with the help of this: function clipboard(control, url, key) { ZeroClipboard.setMoviePath('http://davidwalsh.name/dw-content /ZeroClipboard.swf'); …
Brijesh Gandhi
  • 560
  • 2
  • 10
  • 27
3
votes
2 answers

zeroclipboard copy text inside jquery dialog doesn't work

I am using jquery ui dialog in my page and surprisingly the zeroclipboard copy-to-clipboard functionality does not work from within the jquery dialog box. This is my entire code...
shasi kanth
  • 6,987
  • 24
  • 106
  • 158
2
votes
1 answer

How to load an Ajax response into clipboard using jQuery and ZeroClipboard?

I need a way to copy dynamically (Ajax) loaded content into the clipboard in a Web browser. There are many libraries out there that will mimic the copy-to-clipboard functionality using Flash. However, with the new Flash 10 default security…
newtonapple
  • 4,123
  • 3
  • 33
  • 31
2
votes
2 answers

Button to paste from clipboard for all browsers

Is it possible create a button that can be used to paste some clipboard text into a textbox using javascript? In my project I'm using ZeroClipboard to copy any text that I want, but now I need to paste that information using a single button in other…
Fernando Juarez
  • 87
  • 2
  • 10
2
votes
1 answer

Why is the onclick event not firering on my anchor with an image inside it?

I'm working on copy to clipboard using the zeroclipboard api,. I made a simple test page with an HTML anchor as follows: copy By clicking on copy link, the text is copied to clipboard, all js events are firing and are…
Haseeb Asif
  • 1,766
  • 2
  • 23
  • 41
2
votes
2 answers

ZeroClipboard.js onhover cursor pointer issue

I am using ZeroClipboard.js. The cursor pointer (hover effect) doesn't come to the copy link at the page load it shows only cursor arrow, only if you interact on page somewhere and go to link again then you see the pointer. Anybody seen this issue,…
vetri02
  • 3,199
  • 8
  • 32
  • 43
2
votes
4 answers

Jquery/javascript copy to clipboard

I'm using http://www.steamdev.com/zclip/#usage to copy some text to the clipboard and that code is working just fine. It uses flash to create a crossbrowser solution and it is based on ZeroClipboard, which seems to be considered to be the best…
Stofke
  • 2,928
  • 2
  • 21
  • 28
2
votes
1 answer

Use ZeroClipboard within jQuery UI tabs

My web app has a bunch of lists, each within their own jQuery UI tab. I need to add a ZeroClipboard client to each of the list items in all of the lists so that a user can click to copy the item's specific URL. ZeroClipboard calculates the…
Curtis Gibby
  • 884
  • 1
  • 12
  • 25
2
votes
1 answer

Why does ZeroClipboard only copy first word of sentence?

in my rails app I'm trying to create a set of buttons that can be clicked to copy a sentence (the title of tips) which are stored in @all_tips. At the moment the copying is working but only for the first word (i.e. stops as soon as there's a space)…
Jack Bridger
  • 165
  • 2
  • 14
2
votes
1 answer

display: inline; doesn't work with copy link

Can you explain me why only the third "copy link" works only if all panels are closed ? I want my copy link works when it's in a panel and when a panel is open too. HERE IS MY PAGE: http://500milligrammes.com/facticemagazine/final/0/ JSFIDDLE HERE…
faty fatoumata
  • 205
  • 5
  • 20
2
votes
0 answers

Copy to Clipboard only works after the second click on the button

Copy to Clipboard only works after the second click on the button in my script. I'm using ZeroClipboard. See here: Gerador de Short URL
2
votes
2 answers

How to copy text from div to Clipboard in JS

I'm trying to use zeroclipboard 2.2.0.
1111111
2222222222
Taras Hupalo
  • 1,337
  • 2
  • 16
  • 29
2
votes
2 answers

Using data-clipboard-target

I've been trying to implement codes second item from the below address https://github.com/zeroclipboard/zeroclipboard/blob/master/docs/instructions.md#text-to-copy The below example looks like very nice. However I spent 8 hours and I couldn't be…
efkan
  • 12,991
  • 6
  • 73
  • 106
2
votes
0 answers

Copying formatted text with zeroclipboard

I am using zeroclipboard to copy content from a div to my clipboard. This code var zc_client = new ZeroClipboard( $('#copyButton')); zc_client.on( 'ready', function(event) { zc_client.on( 'copy', function(event) { …
Robbert
  • 6,481
  • 5
  • 35
  • 61
1 2
3
15 16