Sindbad~EG File Manager
/*
author http://codecanyon.net/user/creativeinteractivemedia
*/
(function($) {
$(document).ready(function(){
$(document.body).append('<input type="text" id="copy-text-hidden" value="" style="opacity: 0; pointer-events: none; ">')
$('.copy-shortcode').on('click', function(){
var id = $(this).attr("id")
var shortcode = "[real3dflipbook category='"+id+"']"
var copyText = document.getElementById("copy-text-hidden");
copyText.value = shortcode
/* Select the text field */
copyText.select();
/* Copy the text inside the text field */
document.execCommand("copy");
})
})
})(jQuery);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists