Question

I am using ZeroClipboard version 1.0.7 on my webpage. The current stage is that it works perfectly on Chrome, IE and Firefox up to version 16.2.

When i tried ZeroClipboard on Firefox 17 i noticed that the plugin was not working anymore.

I upgraded to ZeroClipboard to 1.1.7 but now my script does not seem to work at all. I get a TypeError: element is undefined on line 53 in file ZeroClipboard.js .

I could not figure out what i am not doing correctly and the element is never set.

Here is a part of my implementation

$(this).mouseover( function() {

        ZeroClipboard.setDefaults( { moviePath: '/script/ZeroClipboard.swf' } );
        clip = new ZeroClipboard();
        clip.setHandCursor( true ); 

    } );
Était-ce utile?

La solution

Zero Clipboard isn't maintained anymore , why not use http://www.steamdev.com/zclip/ . Its built on zero clipboard and maintained well.

Autres conseils

I gave up with the zeroclipboard and went for the zClip finally.

There are some drawbacks but seems to work without any problems.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top