Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Setting up a clipboard.js button


mendel1570048473

Question

I'd like to have a button that matches the others on my site template (small, left aligned), but instead of linking to another page, I'd like this button to copy a piece of text to the clipboard.

Enter clipboard.js. I believe I've uploaded the javascript properly - as a "file" link under unlinked pages). Under header code injection I've configured:


<!-- Plugin Clipboard.js -->
<script src="mydomain.net/clipboard.min.js">
</script>
<!-- end Plugin Clipboard.js -->

But I'm lost on how to actually get it working using a squarespace-styled button.

Your advice is greatly appreciated!

Edited by mendel
Initial Revision
Link to post
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...