Quote:
Originally Posted by joep
Hi ber22,
I haven't had any success in modifying quiz files and then publishing them through Presenter. I'd guess that Presenter regenerates those files internally and ignores the modifications.
However, since you can redirect through javascript to another page, you can put a link to your (customized) quiz on the last slide of your presentation, then have the Finish button on the quiz redirect to the first slide of your next presentation. Not perfect, but comes close to what you're after.
For any sort of confirmation on the Finish button, you can change the CloseWindow function from
Code:
function CloseWindow()
{
window.close();
}
to something like
Code:
function CloseWindow()
{
if (confirm("You should print this page before continuing.\nAre you sure you want to continue?"))
{
window.close();
}
}
To redirect to the next page, instead of "window.close();" you can put "window.location='http://address_of_your_next_page';"
-- Joe
|
I've found that I had to modify the flashcommand.js file when I publish a quiz through Presenter and want to change the behavior of the FINISH button. Find the flashcommand.js file in the player folder and locate this section of code.
case "ART_CloseAndExit":
if (!g_bLMS)
{
alert('Hello')
//top.window.close();
}
break;
I just inserted the alert so that it wouldn't close the window. It seems as if once you publish through Presenter it's Javascript takes precedence over the javascript in the quizmaker.html file. PITA!!