Dieser Artikel enthält Code und Grafiken zum Drucken von Zertifikaten für unsere kostenlosen JMP Learning Kits
PRINT-Code
Das Kit übergibt die Namensvariable und der Rest erledigt die js. (Dies ist kein Rendern der Bilder)

';
contents+='
';
contents+='';
contents+='JMP Customer Care Certifies That';
contents+=''+username+'';
contents+='HAS SUCCESSFULLY COMPLETED';
contents+=''+course+'';
contents+='WITH A SCORE OF';
contents+=''+score+'%';
contents+='';
contents+='
';
contents+='';
contents+=''+date+'';
contents+='';
contents+='
';
contents+='
';
contents+='
';
contents+='';
myWindow.document.write(contents);
myWindow.document.close();
myWindow.focus();
myWindow.print();myWindow = window.open("","Print","width=900,height=700,scrollbars=0,resizable=0");
var player=GetPlayer();
var course=player.GetVar("CourseName");
var username=player.GetVar("NewName");
var date=player.GetVar("SystemDate");
var score=player.GetVar("ScorePercent");
var contents ='<STYLE type="text/css">';
contents+='h2 {font-family:"Museo Sans For Dell"; font-size:20px; color:#333333}';
contents+='h3 {font-family:"Museo Sans For Dell"; font-size:30px; color:#0085C3}';
contents+='h4 {font-family:"Museo Sans For Dell"; font-size:16px; vertical-align:bottom}';
contents+='</STYLE>';
contents+='