Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var player = window.top.GetPlayer();
- var header = "Title~~"
- var args =(
- "Question 1:~~" +
- player.GetVar("Q1") +
- "~~Question 2:~~" +
- player.GetVar("Q2") +
- "~~Question 3:~~" +
- player.GetVar("Q3") +
- "~~Question 4:~~" +
- player.GetVar("Q4") +
- "~~Question 5:~~" +
- player.GetVar("Q5") +
- "~~Question 6:~~" +
- player.GetVar("Q6") +
- "~~Question 7:~~" +
- player.GetVar("Q7") +
- "~~Question 8:~~" +
- player.GetVar("Q8") +
- "~~Question 9:~~" +
- player.GetVar("Q9")
- )
- var url = ("print.html?=" + header + args);
- window.top.open(url,"_blank","width=800,height=600,menubar=no");
- var url = window.location.href.split('?=');
- var urlData = url[1];
- var printVars = urlData.split('~~');
- var player = opener.top.GetPlayer();
- var printVars = ["Title"];
- for (var i=1;i<=9;i++) {
- printVars.push("Question "+i+":")
- printVars.push(player.GetVar("Q"+i));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement