Skip to main content
November 3, 2006
Question

How to close the Quiz window from with Breeze?

  • November 3, 2006
  • 1 reply
  • 374 views
When ever we launch a Breeze quiz it opens in a new window, which is fine, however it confuses our users as to what to do next after they have finished the quiz. I would like to add a link to the last slide which sends a command (javascript?) to close the window. All my attempts to embed JS have failed because all links within breeze open in a new window automatically, and I'm unable to close the window that has not been open by a script.

Any help on the subject would be greatly appreciated.
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    November 9, 2006
    Hi,

    One workaround for this is to create a Flash SWF button with an action script to close the window. Below is the action script code you need to embed in your SWF:

    on(release) {
    getURL("javascript:window.open('','_parent','')");
    getURL("javascript:window.close();");
    }

    Insert the SWF file in the last slide of your presentation and publish it to Breeze.