Email a certificate slide to predetermined address

Sep 24, 2020

I am Newby and seeking a little guidance. Currently, I have built a course and constructed it with a certificate slide at the end of my course that can only be accessed once all topic within the course has been completed.

I then produced a print feature button that allows the participant to print the certifiacte using the following:

var styles = `@media print {
body, * { visibility: hidden; }
html, body { overflow: hidden; transform: translateZ(0); }
#slide {
transform: scale(1.3) !important;
}
#wrapper {
transform: scale(1) !important;
}
#slide,
#wrapper {
width: 100% !important;
height: 100% !important;
overflow: visible !important;
}
#frame {
overflow: visible !important;
}
.slide-transition-container {
overflow: visible !important;
}
@page {size: A4 landscape;max-height:99%; max-width:99%}
.slide-container, .slide-container * {
visibility: visible !important;
margin-top: 0px !important;
margin-left: 0px !important;
}
#outline-panel {
display: none !important;
}
}
}`
var stylesheet = document.createElement('style');
stylesheet.type = 'text/css';
stylesheet.innerText = styles;
document.head.appendChild(stylesheet);
window.print();

But I would also like to incorporate a feature that allows users to click a button which emails the certificate embeded into the email or somthing very similar to it. I am hoping the soultion will be mobile compliant.

Be the first to reply

This discussion is closed. You can start a new discussion or contact Articulate Support.