shanless
WBWeb Bae
•Created by Sushant Dhiwar on 7/25/2024 in #❓︱questions
Share blog option in webflow
And if you need just a copy link button, I came up with this idea:
<script>
var $temp = $("<input>");
var $url = $(location).attr('href');
$('.clipboard').on('click', function() {
$("body").append($temp);
$temp.val($url).select();
document.execCommand("copy");
$temp.remove();
$(".basic-icon-spec-text.clipboard").text("Link copied");
})
</script>
Here is an example:
https://www.morragency.com/blog-posts/the-science-behind-storytelling-how-it-captivates-audiences-and-drives-engagement
5 replies
WBWeb Bae
•Created by Sushant Dhiwar on 7/25/2024 in #❓︱questions
Share blog option in webflow
Yes, that's what it does.
5 replies