- Rock Content Knowledge Base
- Ion
- Tips and Tricks
Print Dialog Box on Ion Pages
Learn how to trigger a print dialog in your page!
You can trigger a print dialog from anything that is clickable on your Ion page. To do so, take the below steps:
1. Open actions editor
2. Select "External URL" option
3. Enter a # for the external URL
4. Click the + custom attributes button at the bottom of the actions editor
5. Enter the word "onclick" into the first text box
6. Enter "window.print(); return false;" into the second text box
Now, when visitors click this button, a print dialog box will launch.
If you have any questions, please contact us on help@rockcontent.com. 😀