estas 2 son las que provocan lio entre si..
<script type="text/javascript" language="javascript" src="../scripts/jquery-1.6.2.js"></script>
<script type="text/javascript" src="ZeroClipboard.js"></script>
y el codigo es el siguiente
Código HTML:
Ver original
<script language="JavaScript"> var clip = null; function $(id) { return document.getElementById(id); } function init() { clip = new ZeroClipboard.Client(); clip.setHandCursor( true ); clip.addEventListener('load', function (client) { debugstr("Flash movie loaded and ready."); }); clip.addEventListener('mouseOver', function (client) { // update the text on mouse over clip.setText( $('fe_text').value ); }); clip.addEventListener('complete', function (client, text) { debugstr("Copied text to clipboard: " + text ); }); clip.glue( 'd_clip_button', 'd_clip_container' ); } function debugstr(msg) { var p = document.createElement('p'); p.innerHTML = msg; $('d_debug').appendChild(p); } </script>