Thursday, January 20, 2011

Solution for Copy to clipboard only works in IE, does not work in FF

Copy to clipboard only works in IE, does not work in FF.


Zero Clipboard
The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe FlashAdobe Flash Pro CS5 Student & Teacher Edition) movie, and a JavaScript (JavaScript: The Good Parts) 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.
See the Instructions Wiki for instructions on how to use the library on your site.Blogs, Wikis, Podcasts, and Other Powerful Web Tools for Classrooms
Here is a working Test Page where you can try out ZeroClipboard in your browser.
Here is another test page showing how you can use the same ZeroClipboard object to handle multiple elements of the same size. (jQuery is also used in this example.)

Download Link :zeroclipboard-1.3.2.zip

No comments:

Post a Comment