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
6
votes
2 answers

jQuery UI Dialog and Flash in IE

I've been trying to get Zero Clipboard and jQuery UI Dialog to play nice together, and it's proving to be rather difficult. Zero Clipboard allows copying to clipboard from Javascript by placing a transparent Flash movie over a button, so that the…
itsadok
  • 28,822
  • 30
  • 126
  • 171
5
votes
2 answers

ZeroClipboard not working on mobile version of the site

I have implemented ZeroClipboard functionality on our site - http://couponvoodoo.com/rcp/Jabong.com/coupons-offers?field_offer_type_tid=All I am using Drupal-7 It is working fine on the desktop version but not working on the mobile version of the…
user2129794
  • 2,388
  • 8
  • 33
  • 51
5
votes
1 answer

How can I glue() a ZeroClipboard clip to a newly inserted element?

I am trying to write a basic blogging platform, and I want to offer users the ability to copy code within a pre block to their clipboard. I am using ZeroClipboard to achieve this. Once the document is ready, I loop through each pre on the page,…
finiteloop
  • 4,444
  • 8
  • 41
  • 64
5
votes
5 answers

ZeroClipboard just isn't working

Originally, this post was regarding my attempts to inject ZeroClipboard into web pages by and for use by my Chrome extension, but I've dumbed the scenario down and down and down in a seemingly futile attempt to identify the issue and I still can't…
4
votes
2 answers

ZeroClipboard / zClip -- how to bind to live events?

I'm trying to bind zclip with live: $('.code').live('click', function () { $(this).zclip({ path: '<%= asset_path "ZeroClipboard.swf" %>', copy: $(this).text() }); ... }); It doesn't seem to work that way. Any clues? I…
Jacob
  • 6,317
  • 10
  • 40
  • 58
4
votes
1 answer

Is there any movement in the standards body to support a safe way to copy to the clipboard?

It seems like a general purpose need on the web that a page can copy something to the user's clipboard if the request is initiated by the user (not just by some script). A classic example is something like https://bitly.com/ that wants to provide…
jfriend00
  • 683,504
  • 96
  • 985
  • 979
4
votes
2 answers

How to copy using clipboard.js with dynamic content and triggers

After a click on .fw-code-copy-button I would like to copy source code from it's nearest container. .fw-code-copy-button-s are created dynamically, after user click dedicated "view source" button. Html for example button:
Dariusz Sikorski
  • 4,309
  • 5
  • 27
  • 44
4
votes
9 answers

How to disable printscreen with javascript?

I want to make function in javascript which change value of clipboard after the printscreen was used. Is that possible? $(document).keyup(function(e){ if(e.keyCode == 44) //change clipboard value code }); EDIT: I found ZeroClipboard library…
GoobyPrs
  • 585
  • 2
  • 7
  • 15
3
votes
2 answers

copy text to clipboard with jquery or javascript

how to copy some text to the clipboard with jquery or javascript, from google. i know there is a pludgin named zeroclipboard http://code.google.com/p/zeroclipboard/ can do this with cross browers. the instructions link…
runeveryday
  • 2,751
  • 4
  • 30
  • 44
3
votes
1 answer

trouble with ZeroClipboard of add a tooltip

I'm trying to use Zeroclipboard http://code.google.com/p/zeroclipboard/ to copy stuff to the clipboard and add a tooltip when the mouse hover on the flash. but it doesn't seem to be working. my html code:
zhuanzhou
  • 2,409
  • 8
  • 33
  • 51
3
votes
3 answers

Zeroclipboard multiple elements

I'm having trouble creating multiple Zeroclipboard instantiations in my code, with each instantiation launching a popup window after it is invoked. FRSDE3RD
Andrei C
  • 211
  • 3
  • 10
3
votes
6 answers

ZeroClipboard JavaScript library throws Uncaught Error: Error calling method on NPObject

I am trying to copy content to clipboard using https://github.com/zeroclipboard/ZeroClipboard. It seems a good library, but I am getting the error 'Error calling method on NPObject.' when the copy button (a flash) is hovered. Seems like a flash…
Tukuna
  • 447
  • 3
  • 13
3
votes
0 answers

ZeroClipboard doesn't work in loaded js file

If I put a script tag in the HTML page, it will work, but when I load an external page with the ZeroClipboard library included in it, I can't get it to work. The object gets created, and is over the correct element, but it doesn't emit any events,…
adiktofsugar
  • 1,439
  • 14
  • 17
3
votes
0 answers

ZeroClipboard (on click of a link) not working properly

I am using zeroclipboard for copy functionality but it doesnt seem to work properly.. I am trying to copy the data from the page on click of a link. I have included the necessary files in my html,