Em Andamento

Export User Results for use in Web Page

A flash-based quiz is created using a commercial tool (Quizmaker by Articulate). A Quizmaker generated java script records the results of the quiz. The task is to export the results at the close of the quiz so that a called web page can import the data and display the results. The called web page will be in the same folder as the quiz and results.

## Deliverables

Deliverables:

1. Javascript code to add to [url removed, login to view] to export the results

2. Javascript code to read in the results in the called web page

3. Sample webpage displaying results

Limits:

I do not want to use a database (e.g. MySQL, SQLite). I'm assuming something like XML will be used.

Provided to developer:

A complete example quiz that includes the Quizmaker generated [url removed, login to view] (launched with [url removed, login to view] using iFrame)

[url removed, login to view] (a blank web page that will be called at the close of the quiz)

URL to live, working site with example quiz on request

For reference, excerpts from [url removed, login to view]:

// Results Screen vars

var g_strPlayer = "chico";

var g_arrResults = new Array();

var g_oQuizResults = new Object();

[url removed, login to view] = new Object();

var g_bUseFSCommand = (!Opera && !isLinux && !isMac);

function CloseWindow() {[url removed, login to view]();}

function player_DoFSCommand(command, args)

{

args = String(args);

command = String(command);

var arrArgs = [url removed, login to view](g_strDelim);

switch (command)

{

case "CC_StoreQuestionResult":

StoreQuestionResult(parseFloat(arrArgs[0]), arrArgs[1], arrArgs[2], arrArgs[3], arrArgs[4] ,arrArgs[5], arrArgs[6], arrArgs[7], arrArgs[8], arrArgs[9]);

break;

case "CC_StoreQuizResult":

[url removed, login to view] = new Date();

[url removed, login to view] = arrArgs[0];

[url removed, login to view] = arrArgs[1];

[url removed, login to view] = arrArgs[2];

[url removed, login to view] = arrArgs[3];

[url removed, login to view] = arrArgs[4];

[url removed, login to view] = arrArgs[5];

[url removed, login to view] = arrArgs[6];

[url removed, login to view] = arrArgs[7];

break;

default:

// alert(command);

break;

}

}

function QuestionResult(nQuestionNum, strQuestion, strResult, strCorrectResponse, strStudentResponse, nPoints, strInteractionId, strObjectiveId, strType, strLatency)

{

if (nPoints < 0) {nPoints = 0;}

if (strCorrectResponse == "") {strCorrectResponse = "&nbsp;";}

[url removed, login to view] = nQuestionNum

[url removed, login to view] = strQuestion;

[url removed, login to view] = strCorrectResponse;

[url removed, login to view] = strStudentResponse;

[url removed, login to view] = strResult;

[url removed, login to view] = nPoints;

[url removed, login to view] = false;

[url removed, login to view] = new Date();

[url removed, login to view] = strInteractionId;

[url removed, login to view] = strObjectiveId;

[url removed, login to view] = strType;

[url removed, login to view] = strLatency;

}

function StoreQuestionResult(nQuestionNum, strQuestion, strResult, strCorrectResponse, strStudentResponse, nPoints, strInteractionId, strObjectiveId, strType, strLatency)

{

var oQuestionResult = new QuestionResult(nQuestionNum, strQuestion, strResult, strCorrectResponse, strStudentResponse, nPoints, strInteractionId, strObjectiveId, strType, strLatency);

var nIndex = [url removed, login to view];

// Lets see if we have answered the question before

for (var i = 0; i < [url removed, login to view]; i++)

{

if (g_arrResults[i].nQuestionNum == [url removed, login to view] && strQuestion == g_arrResults[i].strQuestion)

{

nIndex = i;

break;

}

}

g_arrResults[nIndex] = oQuestionResult;

}

var g_bCloseExecuted = false;

function DoOnClose()

{

if (!g_bCloseExecuted)

{

g_bCloseExecuted = true;

if (g_bAOSupport)

{PostResultsOnUnload()}

}

}

Habilidades: Amazon Web Services, Javascript

Ver mais: cc_storequizresult java, xml use case, web site java developer, web page developer tool, web developer split, use case includes, use case amazon, true results, top web developer, task web developer, task as java developer, split page html, script for commercial sample, script for commercial, script for a commercial, sample script for commercial, sample of commercial script, page split, javascript quizmaker, java developer in web, includes in use case, iframe html 5, html 5 command, g.c. services, example of commercial script

Acerca do Empregador:
( 20 comentários ) United States

ID do Projeto: #3019506

Premiar a:

rjcorp

See private message.

$59.5 USD em 6 dias
(9 Avaliações)
3.8