KLs PRINT var my Window window open Print

  • Slides: 2
Download presentation
KL’s PRINT var my. Window = window. open("", "Print", "width=810, height=610, scrollbars=1, resizable=1"); var

KL’s PRINT var my. Window = window. open("", "Print", "width=810, height=610, scrollbars=1, resizable=1"); var player=Get. Player(); var headline=player. Get. Var("Print. Title"); var date=player. Get. Var("System. Date"); var usernotes=player. Get. Var("notes"); var exercisenotes 1=player. Get. Var("Thoughts 1"); var exercisenotes 2=player. Get. Var("Thoughts 2"); var exercisenotes 3=player. Get. Var("Thoughts 3"); var contents = "<html><head></head><body style='width: 650 px; padding: 20 px; '>" contents += "<div style='height: 20 px; padding: 10 px; margin-bottom: 20 px; text-align: center; '><button onclick='javascript: window. print(); '>Print My Notes</button></div>"; contents+="<div style='font-size: 22 px; font-weight: bold; margin-top: 20 px; margin-bottom: 20 px; '>"+headline+"</div>"; contents+="<div style='font-size: 16 px; '>"+date+"</div>"; contents+="<div style='font-size: 18 px; font-weight: bold; margin-top: 10 px; '>How I might have contributed to "Equifax Delivers the Outcomes"</div>"; contents+="<div style='font-size: 17 px; margin-top: 5 px; '>"+exercisenotes 1+"</div>"; contents+="<div style='font-size: 18 px; font-weight: bold; margin-top: 10 px; '>How I might have contributed to "The Solution Fits"</div>"; contents+="<div style='font-size: 17 px; margin-top: 5 px; '>"+exercisenotes 2+"</div>"; contents+="<div style='font-size: 18 px; font-weight: bold; margin-top: 10 px; '>How I might have contributed to "Client's Team is Achieving Better Results"</div>"; contents+="<div style='font-size: 17 px; margin-top: 5 px; '>"+exercisenotes 3+"</div>"; contents+="<div style='font-size: 18 px; font-weight: bold; margin-top: 10 px; '>My Equifax Story</div>"; contents+="<div style='font-size: 17 px; margin-top: 5 px; '>"+usernotes+"</div>"; contents+= "</body></html>" my. Window. document. write(contents);

KL’s Email var player = Get. Player(); var useremail=player. Get. Var("email"); var subject="Equifax Story

KL’s Email var player = Get. Player(); var useremail=player. Get. Var("email"); var subject="Equifax Story Notes"; var usernotes=player. Get. Var("notes"); var exercisenotes 1=player. Get. Var("Thoughts 1"); var exercisenotes 2=player. Get. Var("Thoughts 2"); var exercisenotes 3=player. Get. Var("Thoughts 3"); var mailto_link='mailto: '+useremail+'? subject='+subject+'&body='+"How I might have contributed to "Equifax Delivers the Outcome": %0 d%0 A"+exercisenotes 1+"%0 d%0 AHow I might have contributed to "The Solution Fits": %0 d%0 A"+exercisenotes 2+"%0 d%0 AHow I might have contributed to "Client's Team is Achieving Better Results": %0 d%0 A"+exercisenotes 3+"%0 d%0 AMy Equifax Story: %0 d%0 A"+usernotes; win=window. open(mailto_link, 'email. Win');