- Rock Content Knowledge Base
- Ion
- Tips and Tricks
Print Dialog Box on Ion Pages
Are your Ion pages works of art? Do you offer printable coupons or white papers?
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.