I was wondering if anyone knows how to use the window.print() method to a Squarespace button? I’d like for people to have the option to print our recipes without having to send them to a service like printfriendly. I feel like this could be done with markdown or code but I’d really like if it was in a button like the other 3 on the page.
Site URL: https://amalfimedia.com/nfc/moroccan-stew
Hello, all!
I was wondering if anyone knows how to use the window.print() method to a Squarespace button? I’d like for people to have
You gonna need 2 steps to achieve this
1. Add a button with link, something like: "#print-page"
2. Head to Settings->Advanced->Code Inject, paste this to footer
<script>
$(
Question
TheNattyD 3
Site URL: https://amalfimedia.com/nfc/moroccan-stew
Hello, all!
I was wondering if anyone knows how to use the window.print() method to a Squarespace button? I’d like for people to have the option to print our recipes without having to send them to a service like printfriendly. I feel like this could be done with markdown or code but I’d really like if it was in a button like the other 3 on the page.
Thanks so much!
Link to post
Top Posters For This Question
1
1
Popular Days
Feb 28
1
Mar 1
1
Top Posters For This Question
TheNattyD 1 post
bangank36 1 post
Popular Days
Feb 28 2021
1 post
Mar 1 2021
1 post
Popular Posts
TheNattyD
Site URL: https://amalfimedia.com/nfc/moroccan-stew Hello, all! I was wondering if anyone knows how to use the window.print() method to a Squarespace button? I’d like for people to have
bangank36
You gonna need 2 steps to achieve this 1. Add a button with link, something like: "#print-page" 2. Head to Settings->Advanced->Code Inject, paste this to footer <script> $(
Posted Images
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment