treconomics_project/static/javascripts/popup_launcher.js
/*
Displays the completion message to the user in the parent window.
Supply a reference to the JQuery object for element with ID instructions_text in the parent window.
 */
Displays the completion message to the user in the parent window.
Supply a reference to the JQuery object for element with ID instructions_text in the parent window.
Displays the completion message to the user in the parent window . Supply a reference to the JQuery object for element with ID instructions_text in the parent window .
function displayCompletionMessage(instructionsElement) {
    instructionsElement.empty();
    instructionsElement.append(
        $('<div>Thank you very much for participating in this NewsSearch experiment!</div>')
            .attr({'style': 'text-align: center; font-size: 14pt; font-weight: bold;'}));
    instructionsElement.append(
        $('<div>Please let the research assistant know you have finished.</div>')
            .attr({'style': 'text-align: center; margin-top: 8px;'}));
}
function displayCompletionMessage ( instructionsElement ) { instructionsElement . empty ( ) ; instructionsElement . append ( $ ( '<div>Thank you very much for participating in this NewsSearch experiment!</div>' ) . attr ( { 'style' : 'text-align: center; font-size: 14pt; font-weight: bold;' } ) ) ; instructionsElement . append ( $ ( '<div>Please let the research assistant know you have finished.</div>' ) . attr ( { 'style' : 'text-align: center; margin-top: 8px;' } ) ) ; }
Displays the completion message to the user in the parent window.
Displays the completion message to the user in the parent window .