/* * Zero Clipboard Initialization * Mike Lopez v1.0 */ var wlmClip = null; function wlmClipInit(){ ZeroClipboard.setMoviePath('/members/wp-content/plugins/wishlist-member/js/ZeroClipboard.swf'); wlmClip=new ZeroClipboard.Client(); wlmClip.setHandCursor(true); jQuery('a.wlmClipButton').mouseover( function() { wlmClip.setText( this.title ); if (wlmClip.div) { wlmClip.receiveEvent('mouseout', null); wlmClip.reposition(this); } else wlmClip.glue(this); wlmClip.receiveEvent('mouseover', null); } ); } jQuery(document).ready(wlmClipInit);