I have used copy to clipboard functionality with the help of this:
function clipboard(control, url, key) {
ZeroClipboard.setMoviePath('http://davidwalsh.name/dw-content
/ZeroClipboard.swf');
//create client
var clip = new ZeroClipboard.Client();
clip.setText(control.textContent);
clip.addEventListener('complete', function (client, text) {
alert('copied: ' + text);
CheckIPAddress(key);
window.open(url, '_blank');
});
//glue it to the button
clip.reposition('GridView1_ctl03_lnk');
clip.glue(control);
}
Till now, it works fine.
But when that control change it's position due to sliding feature, the control keep glued on the original as well as the new position.
So is there a way such that when that control change it's position then keep glued on the new position and get removed from the old position.
Thanks in advance.